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:
parent
8621e09dbb
commit
e2d2cb375c
2
.github/workflows/demo_test.yml
vendored
2
.github/workflows/demo_test.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user