mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-10-16 02:21:52 +00:00
[GH-ISSUE #152] "Illegal instruction" on RPI 4b #86
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#86
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 @NyakoFox on GitHub (Sep 9, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/152
When trying to run SillyTavern-Extras, I get "Illegal instruction" with no further output. By doing some debug prints, it seems to be on the line
from transformers import AutoTokenizer, AutoProcessor, pipeline@Cohee1207 commented on GitHub (Sep 9, 2023):
This may be related: https://github.com/coqui-ai/TTS/issues/2455#issuecomment-1565839898
Try reinstalling torch using index-url https://download.pytorch.org/whl/cpu
@NyakoFox commented on GitHub (Sep 9, 2023):
Works perfectly, thanks!
@NyakoFox commented on GitHub (Sep 9, 2023):
This is unrelated but I don't think I should open a new issue for another question -- what're the ram requirements? The script gets OOM killed, even if the only enabled module is
caption.@Cohee1207 commented on GitHub (Sep 9, 2023):
Not exactly sure nowadays, but up to 4-6 GB, depending on the chosen modules. Running full unquantized models on CPU unfortunately has high RAM requirements.
If you're just interested in text classification (e.g. emotion sprites), I'm currently working on running the quantized model natively in JavaScript, Summary didn't show itself to be well-performing, but Caption would not be available to be ported, since right now BLIP models can't be run in JS.
@NyakoFox commented on GitHub (Sep 9, 2023):
I was hoping that Caption alone would be small enough to fit within my available RAM (seems to just be 3.8GB available however which is lower than I thought) but it seems like it's not. Thanks anyway!