mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-10-16 02:21:52 +00:00
[GH-ISSUE #65] [Feature request] Specify which GPU to use if CUDA is selected as a command line argument. #46
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#46
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 @Amajiro on GitHub (Jun 26, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/65
I have two graphics cards and do my sillytavern-extras processing on the second one. Could we have a command line argument (maybe as a condition to --CUDA) to specify which GPU to use? Otherwise I have to edit
device_string = "cuda:0"every time there's an update.@Cohee1207 commented on GitHub (Jun 26, 2023):
Added
--cuda-devicecommand line option. Defaults tocuda:0as previously stated. Also, keep in mind that not every transformers module supports running in multi-GPU mode.