Skip to content

Commit

Permalink
Add share memory Flag in docker (#19672)
Browse files Browse the repository at this point in the history
### Description



### Motivation and Context
Ref:
https://docs.nvidia.com/deeplearning/frameworks/user-guide/index.html#setincshmem

Co-authored-by: Your Name <[email protected]>
  • Loading branch information
mszhanyi and Your Name authored Feb 28, 2024
1 parent c20ced4 commit f95c077
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ stages:
script: |
set -e -x
mkdir -p $HOME/.onnx
docker run --gpus all --rm \
docker run --gpus all --shm-size=1g --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 --rm \
--volume $(Build.SourcesDirectory):/onnxruntime_src \
--volume $(Build.BinariesDirectory)/Release:/build/Release \
--volume /data/models:/build/models:ro \
Expand Down

0 comments on commit f95c077

Please sign in to comment.