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:
@@ -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 $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user