mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-10-15 18:11:52 +00:00
[GH-ISSUE #71] [question/bug?] Do chromaDB module can work on CPU? #51
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#51
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 @valden80 on GitHub (Jul 1, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/71
When I starting extras with this command line:
python server.py --cpu --enable-modules=caption,summarize,classify,chromadbit still using GPU. (For chromaDB only, other modules use CPU.)
This is intended behavior or bug? I already read help files to find info about this, but don't get any answer from them...
@virt-10 commented on GitHub (Jul 23, 2023):
run one of the commands below before starting the sever with --cpu
for linux
export CUDA_VISIBLE_DEVICES=""for windows cmd
set CUDA_VISIBLE_DEVICES=""for windows powershell
$env:CUDA_VISIBLE_DEVICES=""this is my bash script for linux
@Cohee1207 commented on GitHub (Jul 31, 2023):
There were updates to make chroma respect --cpu flag. Update and check, please