Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More informative detection of dependency versions #27

Open
diego-plan9 opened this issue Oct 16, 2020 · 2 comments
Open

More informative detection of dependency versions #27

diego-plan9 opened this issue Oct 16, 2020 · 2 comments
Assignees
Labels
build Issues related to build system and compilation/installing enhancement New feature or request status:doing

Comments

@diego-plan9
Copy link
Member

Description and motivation

While we have a manageable number of build dependencies and we list the required versions in the docs, for some of them we don't explicitly check during the cmake build, which can lead to obscure and not easy to debug problems during compilation.

By checking the versions at compile time we would be able to troubleshoot quicker, and overall provide a smoother experience when building. One particularly tricky case is pybind11, which is lagging behind a bit on some distributions and might go unnoticed until the final stages of the compilation.

Proposed solution

Make use of cmake commands for defining the minimal versions, or other means that allow failing the build early if unsupported versions are detected.

Alternatives and other information

@diego-plan9 diego-plan9 added enhancement New feature or request build Issues related to build system and compilation/installing labels Oct 16, 2020
@maljoras
Copy link
Collaborator

See also #545 which might be related

@Raghucharan16
Copy link

Raghucharan16 commented Apr 30, 2024

when i'm installing aihwkit via pip install command i'm getting _lzma module not found. I was trying to setup a nn using aihwkit on mnist data. so how can properly install it or which python version perfectly supports it. I'm getting torch and torchvision dependency errors since aihwkit needs torch 2.0.1 but torchvision needs torch 2.3 and if all were installed i'm getting _lzma module not found. I also installed lzma in my ubuntu by sudp apt install aihwkit.

Edit: It worked when i tried installing the dependencies of aihwkit first before the library itself.

@Borjagodoy Borjagodoy self-assigned this Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to build system and compilation/installing enhancement New feature or request status:doing
Projects
None yet
Development

No branches or pull requests

5 participants