Feature request: specify GPU # if several installed
Found for now it will pick first shown by nvidia-smi
This also related partially to https://github.com/exo-explore/exo/issues/123
I believe you can already do this with tinygrad by specifying VISIBLE_DEVICES see https://docs.tinygrad.org/env_vars/
I believe you can already do this with tinygrad by specifying
VISIBLE_DEVICESsee https://docs.tinygrad.org/env_vars/
Got chance to verify it. VISIBLE_DEVICES=0,1,2 and VISIBLE_DEVICES=1,2 will lead to the same result. Also in manual mentioned it may work only for AMD|NV Also opened a case to chase for it https://github.com/tinygrad/tinygrad/issues/7318
Need or chance make tinygrad work with multiply devices natively, or may specify exact device therefore can run several instances on the same host per each device.
This one is correct for CUDA: to use both GPU need run something like CUDA_VISIBLE_DEVICES=0 exo --node-id=1 --node-port=8001 --listen-port=65001 CUDA_VISIBLE_DEVICES=1 exo --node-id=2 --node-port=8002 --listen-port=65002