Increase the pytorch demo TCS number to 64

Also increase ready check delay time to 360s

Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
This commit is contained in:
Zheng, Qi 2021-10-21 19:53:38 +08:00 committed by Zongmin.Gu
parent 8621e09dbb
commit e2d2cb375c
2 changed files with 2 additions and 2 deletions

@ -346,7 +346,7 @@ jobs:
# FIXME: PyTorch can't exit normally in SIM mode
- name: Kill the container
run: |
sleep 240;
sleep 360;
cat "$GITHUB_WORKSPACE/log";
if grep -q Done "$GITHUB_WORKSPACE/log"; then
docker stop pytorch_test

@ -17,7 +17,7 @@ fi
new_json="$(jq '.resource_limits.user_space_size = "6000MB" |
.resource_limits.kernel_space_heap_size = "256MB" |
.process.default_mmap_size = "4000MB" |
.resource_limits.max_num_of_threads = 64 |
.env.default += ["PYTHONHOME=/opt/python-occlum"]' Occlum.json)" && \
echo "${new_json}" > Occlum.json
occlum build