Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
You can build it locally with the following commands:
git clone https://github.com/microsoft/onnxruntime.git
cd onnxruntime
git clone https://github.com/pypa/manylinux.git
cd manylinux
git checkout 5eda9aded5462201e6310105728d33016e637ea7
cd ..
python3 tools/ci_build/get_docker_image.py --dockerfile tools/ci_build/github/linux/docker/Dockerfile.manylinux2_28_cuda11_8_tensorrt8_6 --context tools/ci_build/github/linux/docker --docker-build-args '--build-arg BASEIMAGE=nvidia/cuda:12.2.0-devel-ubi8 --build-arg BUILD_UID=8229510 --build-arg POLICY=manylinux_2_28 --build-arg PLATFORM=x86_64 --build-arg PREPEND_PATH=/usr/local/cuda/bin --build-arg LD_LIBRARY_PATH_ARG=/usr/local/lib64 --build-arg DEVTOOLSET_ROOTPATH=/usr' --repository orttrt --manylinux-src manylinux --multiple_repos
export BUILD_SOURCESDIRECTORY=
pwd
export BUILD_BINARIESDIRECTORY=$HOME/build
mkdir $BUILD_BINARIESDIRECTORY
bash 'tools/ci_build/github/linux/run_python_dockerbuild.sh' -i orttrt -d "GPU" -c Release -x "--use_azure"
You must change the BUILD_UID to your userid. You can get it from Linux's
id
command.@jchen351, please run the commands locally. I expect the last command(run_python_dockerbuild) will fail. Because cuda version is hardcoded there. Please fix that with a new PR.
Motivation and Context
For adding CUDA 12 pipelines.