alessandro trinca tornidor
commited on
Commit
•
5d4e838
1
Parent(s):
faa82ff
[ci] remove find command too verbose
Browse files- scripts/entrypoint.sh +0 -3
scripts/entrypoint.sh
CHANGED
@@ -15,9 +15,6 @@ df -h / /home ${WORKDIR} ${XDG_CACHE_HOME}
|
|
15 |
echo "WORKDIR - /var/task"
|
16 |
ls -l ${WORKDIR}
|
17 |
|
18 |
-
echo "XDG_CACHE_HOME - /data"
|
19 |
-
find ${XDG_CACHE_HOME}
|
20 |
-
|
21 |
CUDA_VISIBLE_DEVICES=$(nvidia-smi --query-gpu=memory.free,index --format=csv,nounits,noheader | sort -nr | head -1 | awk '{ print $NF }')
|
22 |
echo "calculated CUDA_VISIBLE_DEVICES env variable: ${CUDA_VISIBLE_DEVICES}."
|
23 |
export CUDA_VISIBLE_DEVICES
|
|
|
15 |
echo "WORKDIR - /var/task"
|
16 |
ls -l ${WORKDIR}
|
17 |
|
|
|
|
|
|
|
18 |
CUDA_VISIBLE_DEVICES=$(nvidia-smi --query-gpu=memory.free,index --format=csv,nounits,noheader | sort -nr | head -1 | awk '{ print $NF }')
|
19 |
echo "calculated CUDA_VISIBLE_DEVICES env variable: ${CUDA_VISIBLE_DEVICES}."
|
20 |
export CUDA_VISIBLE_DEVICES
|