Closed lacksfish closed 7 months ago
@lacksfish, try these ideas for starters:
1) check that there is no directory named petals
where you launch your code from. It may confuse imports.
2) uninstall petals and make sure that import petals
fails with ModuleNotFoundError
. Then reinstall and test.
petals.py
to petal.py
I still encountered the same issueModuleNotFoundError
after uninstall, after uninstalling with the recommended install command (installing v2.2.0) it failed with the same described ImportError
My solution was this:
$ pip3 install git+https://github.com/bigscience-workshop/petals.git@main
This installs the main/master branch which did not have the circular dependency issue anymore (versioned at v2.3.0 at commit 03cbe90234ccd4e3cf749d9370f53bea2a1dcb67)
Feel free to close the issue or investigate further. From my perspective, using the main branch directly fixed this issue.
thank you for exploring this, @lacksfish. I hope that the problem stays in the past with 2.2.0.
I've been trying the latest version with a very basic setup and running into issues. I'm trying to follow the basic guide
Base information:
nvidia-smi
command detects my GPUI've tried running:
$ pip3 install git+https://github.com/bigscience-workshop/petals
(no errors)But then:
Any help with this is appreciated!