lava-nc / lava-optimization

Neuromorphic mathematical optimization with Lava
https://lava-nc.org/optimization.html
BSD 3-Clause "New" or "Revised" License
51 stars 26 forks source link

Dependency graph of this repository extremely brittle #281

Open biphasic opened 9 months ago

biphasic commented 9 months ago

Describe the bug

I've tried now on multiple occasions over the last 3 months to run the tutorial notebooks in this repository, but I always get different errors. For the satellite scheduling notebook I receive:

ModuleNotFoundError: No module named 'lava.utils.loihi2_state_probes'

On an older install of this repo from 2 months ago, I got the error

raise ValueError("Please choose a supported neuron model")

for the satellite scheduling notebook.

When I check the poetry.lock file, the lava dependency is currently pinned to

version = "0.9.0.dev0"

on the main branch. I'm wondering if that dev0 version includes commits that make the tutorials break. Maybe it would be worth releasing minor hotfix versions of Lava such that lava-optimization can pin exact versions that can then be automatically tested as part of the CI?

To reproduce current behavior

  1. Clone the repo
  2. Poetry install
  3. Run the satellite scheduling tutorial notebook