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

pytests fail when installing lava-optimisation on MacBook Pro M1 #186

Open
nicoliKim opened this issue Feb 24, 2023 · 0 comments
Open

pytests fail when installing lava-optimisation on MacBook Pro M1 #186

nicoliKim opened this issue Feb 24, 2023 · 0 comments
Labels
0-needs-review Has to be reviewed. 1-bug Something isn't working

Comments

@nicoliKim
Copy link

I am trying to install the lava-optimization library on my laptop, a MacBook Pro M1 from 2021 and I am using python 3.10 (more details below).

After following the steps to build from source from https://github.com/lava-nc/lava-optimization I ran the pytests and I found one of the tests actually failed with the following error message:

FAILED tests/lava/lib/optimization/solvers/generic/test_solver_cpu_backend.py::TestWorkloads::test_solve_set_partitioning - AssertionError: -17.0 != -34.0

A screenshot is attached for a self-explanatory image of the issue.
Any idea if this problem is related to either the python interpreter or the M1 chip?

Environment:

  • Device: MacBook Pro 2021
  • OS: Mac OS Ventura 13.0.1
  • Python Interpreter 3.10
  • Lava-optimization version v0.2.3

Screenshot 2023-02-24 at 15 47 22

@nicoliKim nicoliKim added the 1-bug Something isn't working label Feb 24, 2023
@github-actions github-actions bot added the 0-needs-review Has to be reviewed. label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-needs-review Has to be reviewed. 1-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant