mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Add share memory Flag in docker (#19672)
### Description ### Motivation and Context Ref: https://docs.nvidia.com/deeplearning/frameworks/user-guide/index.html#setincshmem Co-authored-by: Your Name <your@email.com>
This commit is contained in:
parent
c20ced4132
commit
f95c0773a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue