Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use test -n to check the existence of CUDA_VISIBLE_DEVICES (#1204)
With `set -u`, if CUDA_VISIBLE_DEVICES is not set outside of `test-maxtext.sh`, then `if [ "$CUDA_VISIBLE_DEVICES" != "" ]; then` will introduce `-bash: CUDA_VISIBLE_DEVICES: unbound variable` error.
- Loading branch information