mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
### Description 1. Create a package test image based on [RedHat UBI](https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image) 2. Install TensorRT 8.6.1.6 in RedHat. (Ref. https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html#maclearn-net-repo-install-rpm) 3. Run Final_Jar_Testing_Linux_GPU in docker (base image: nvidia/cuda:11.8.0-cudnn8-devel-ubi8) ### Motivation and Context [AB#18470](https://aiinfra.visualstudio.com/6a833879-cd9b-44a4-a9de-adc2d818f13c/_workitems/edit/18470) ### Verification https://dev.azure.com/aiinfra/Lotus/_build/results?buildId=354004&view=logs&j=8939b564-1402-57b5-92dc-510eba75e069&t=8939b564-1402-57b5-92dc-510eba75e069
12 lines
258 B
Bash
Executable file
12 lines
258 B
Bash
Executable file
#!/bin/bash
|
|
set -e -x
|
|
|
|
if [ -f /etc/redhat-release ]; then
|
|
dnf install -y java-11-openjdk-devel \
|
|
&& dnf clean dbcache
|
|
elif [ -f /etc/os-release ]; then
|
|
apt-get update && apt-get install -y openjdk-11-jdk
|
|
else
|
|
echo "Unsupported OS"
|
|
exit 1
|
|
fi
|