Chia-Network / drplotter

Apache License 2.0
62 stars 7 forks source link

drsolver --gpu selection does not work (V0.92) #40

Closed ghmgit closed 3 months ago

ghmgit commented 4 months ago

Hi,

the --gpu option does not work. Despite I specify "0" it still asks:


root@3abf31929cac:/# drsolver --gpu 0
Using client token from DRPLOTTER_CLIENT_TOKEN environment variable: xxx
GPU Selection:
--------------------------------
     0 | NVIDIA GeForce RTX 4090    |    23812 / 24217 MiB |  AVAILABLE
     1 | Quadro RTX 4000            |      7855 / 7966 MiB |    LOW RAM
Select a GPU (0-1): ^C
ghmgit commented 4 months ago

Until this is fixed I am using this workaround:


root@3abf31929cac:/# export CUDA_VISIBLE_DEVICES=0

root@3abf31929cac:/# drsolver       
Using client token from DRPLOTTER_CLIENT_TOKEN environment variable: xxx
... .NVIDIA GeForce RTX 4090) selected. 
drnick23 commented 3 months ago

This is fixed in the 0.10.2 release.