mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-10-16 02:21:52 +00:00
[GH-ISSUE #12] cannot import name 'PartialState' from 'accelerate' #7
Labels
No labels
bug
duplicate
planned
pull-request
under consideration
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Extras#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @saklis on GitHub (Apr 19, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/12
Following conda installation guide while executing
python server.py --enable-modules=caption,summarize,classifyI'm getting following error:
cannot import name 'PartialState' from 'accelerate'.I'm sure I'm doing something wrong, but I don't know enough about Python to figure it out :D
Trace:
@Cohee1207 commented on GitHub (Apr 19, 2023):
It looks like a conflict in the Python modules installs. Could you try a miniconda environment? It would allow isolating your local modules from extras requirements.
@saklis commented on GitHub (Apr 19, 2023):
I did. This is a result of installation using miniconda environment.
EDIT: I run everything again, using Anaconda Prompt. Full loggs attached.
extras2.txt
@Cohee1207 commented on GitHub (Apr 19, 2023):
I can confirm having the same error using the latest version of git transformers. I locked the version to be the last supported release version that doesn't depend on accelerate. Pushed to main, please git pull and try again
github.com/Cohee1207/TavernAI-extras@d3014d8545@saklis commented on GitHub (Apr 19, 2023):
Works! Thank you for the help!