Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix --cuda-device arg for AMD/HIP devices (comfyanonymous#5586)
* fix --cuda-device arg for AMD/HIP devices CUDA_VISIBLE_DEVICES is ignored for HIP devices/backend. Instead it uses HIP_VISIBLE_DEVICES. Setting this environment variable has no side effect for CUDA/NVIDIA so it can safely be set in any case and vice versa. * deleted accidental if
- Loading branch information