8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a042f3 commit cd61aa0Copy full SHA for cd61aa0
koboldcpp.py
@@ -209,11 +209,11 @@ def load_model(model_filename):
209
inputs.clblast_info = clblastids
210
inputs.cublas_info = 0
211
if (args.usecublas and "0" in args.usecublas):
212
- os.environ["CUDA_VISIBLE_DEVICES"] = "0"
+ inputs.cublas_info = 0
213
elif (args.usecublas and "1" in args.usecublas):
214
- os.environ["CUDA_VISIBLE_DEVICES"] = "1"
+ inputs.cublas_info = 1
215
elif (args.usecublas and "2" in args.usecublas):
216
- os.environ["CUDA_VISIBLE_DEVICES"] = "2"
+ inputs.cublas_info = 2
217
218
for n in range(tensor_split_max):
219
if args.tensor_split and n < len(args.tensor_split):
0 commit comments