Comments (4)
I did a quick test. The docker has python 3.10. I can use the docker to build like the following:
git clone https://github.com/microsoft/onnxruntime
cd onnxruntime
docker run --rm -it --gpus all -v $PWD:/workspace nvcr.io/nvidia/tensorrt:23.06-py3 /bin/bash
Then run the following to build ORT in the docker:
python3 -m pip install --upgrade pip
python3 -m pip install cmake packaging
export CUDACXX=/usr/local/cuda-12.1/bin/nvcc
git config --global --add safe.directory '*'
sh build.sh --config Release --build_shared_lib --parallel --use_cuda --cuda_version 12.1 \
--cuda_home /usr/local/cuda-12.1 --cudnn_home /usr/lib/x86_64-linux-gnu/ --build_wheel --skip_tests \
--use_tensorrt --tensorrt_home /usr/src/tensorrt \
--cmake_extra_defines onnxruntime_BUILD_UNIT_TESTS=OFF \
--cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=70;75;80 \
--allow_running_as_root
python3 -m pip install build/Linux/Release/dist/onnxruntime_gpu-*.whl
from onnxruntime.
TRT 8.6.1 was released in May 2023. Why do you use TRT container of Dec 2022?
Try replace TRT_CONTAINER_VERSION=22.12
by TRT_CONTAINER_VERSION=23.06
to see whether it is resolved.
from onnxruntime.
Tried with 23.06. The same error persists
from onnxruntime.
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
from onnxruntime.
Related Issues (20)
- [Build] Float16_t and BFloat16_t compile error
- yolov8 onnxruntime error -1073740791 (0xC0000409) HOT 2
- [Documentation Request]
- terminate called after throwing an instance of 'Ort::Exception' what(): Invalid input name: ��veSU
- [Build] Error when load pf16 model HOT 2
- [Build] HOT 1
- [Documentation Request]
- Microsoft.ML.OnnxRuntime.DirectML causes VS 2022 project to have empty project properties list
- DirectML Exception 80070057 "The parameter is incorrect" HOT 1
- [Feature request] Support bfloat16/float8 inputs in `session.run()` HOT 2
- Getting error "Dilation not supported for AutoPadType::SAME_UPPER or AutoPadType::SAME_LOWER" HOT 1
- Caused by: java.lang.UnsatisfiedLinkError: /tmp/onnxruntime-java8147263448488960156/libonnxruntime.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /tmp/onnxruntime-java8147263448488960156/libonnxruntime.so) HOT 1
- [Build] LoadLibrary failed with error 126 HOT 1
- [Documentation Request]
- windows系统,Java中使用onnxruntime进行压测,cpu飙升很快,一直100% HOT 3
- Load External Data with AddExternalInitializers and output nan HOT 7
- [Build] Cross compilation for Nvidia Jetson fails at compiler check due to -fcf-protection flag HOT 1
- FAIL : LoadLibrary failed with error 126 "" when trying to load "onnxruntime_providers_cuda.dll"` HOT 2
- [Performance] Inference takes longer when session.Run() is being ran on different threads and each thread has its own session HOT 2
- Ensures <img> elements have alternate text or a role of none or presentation (img[width="30%"][height="30%"]): A11y_WCP URLs - ONNX Runtime_AI4W
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnxruntime.