1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-12-13 01:26:44 +00:00

update dependencies

This commit is contained in:
2019-07-10 20:47:02 +08:00
parent eaf2d3dfae
commit f79ab58e5d
2 changed files with 6 additions and 0 deletions

View File

@@ -12,6 +12,11 @@ if [ -d /workspace ]; then
cd /workspace
fi
if ! grep -q *.py per_process_gpu_memory_fraction; then
echo "Resourse usage limitation not set!"
exit 1
fi
# use eval because commands likes `key=value command` would cause file not found error when using $@, but this eval will ruin current environment
eval $@