Open johnnychen94 opened 2 years ago
~Because we can't ensure environment variables are properly set, it's perhaps better to support this after #35 so that we can introduce the default
filter to guard the values.~
A solution is to provide .env
file as fallback environment variables, e.g.,
# .env
CUDA_VISIBLE_DEVICES=1
JULIA_NUM_THREADS=8
A typical usage could be: