Skip to content

[quantization] libfmt issue when installing or importing aidge_backend_cpu

FYI

What commit version of aidge do you use

  • aidge_core: main commit ade77684590f9dc5ed39348d9d48bbcf9a8d3591
  • aidge_backend_cpu: main commit 43e9a1c1e489a14a573df08862f3a6b4d2d38099

Problem description

libfmt v10.2.1 is required for aidge_backend_cpu. I had some issue importing aidge_backend_cpu due to bad version of libfmt that was installed on the server I use. I fixed the issue

  • removing the libfmt v8... that was installed on the server (apt remove)
  • removing libfmt.a in /usr/local/lib
  • removing fmt in /usr/local/lib/cmake/fmt

If another libfmt is installed on the machine, aidge_backend_cpu points on it, leading to error.

Reproducible example code