Package for causal inference in graphs and in the pairwise settings. Tools for graph structure recovery and dependencies are included.
1.08k
stars
198
forks
source link
[BUG] autoset_settings() fails with MIG GPU #156
Open
btravouillon opened 1 year ago
With MIG GPU, the value of
CUDA_VISIBLE_DEVICES
is a string.This breaks the code at https://github.com/FenTechSolutions/CausalDiscoveryToolbox/blob/d0bc352534dcbfac19a84a1bb05f33fe311378d2/cdt/utils/Settings.py#L152
This is reproducible with an NVIDIA A100 GPU with a MIG:
Note that the string format may vary depending on the NVIDIA driver (=R470), see https://docs.nvidia.com/datacenter/tesla/mig-user-guide/index.html#cuda-visible-devices