-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tensorrt test workflow #3266
base: main
Are you sure you want to change the base?
Conversation
if [[ ${TENSORRT_VERSION} != "" ]]; then | ||
# this is the upgraded TensorRT version, replace current tensorrt version to the upgrade tensorRT version in the pyproject.toml | ||
current_version=$(cat dev_dep_versions.yml | grep __tensorrt_version__ | sed 's/__tensorrt_version__: //g' | sed 's/"//g') | ||
sed -i -e "s/tensorrt-cu12==${current_version}/tensorrt-cu12==${TENSORRT_VERSION}/g" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is CUDA 11.8 still in the support matrix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, cuda 11.8 still in the support matrix in tensorRT10.6.0
-e "s/tensorrt-cu12-libs==${current_version}/tensorrt-cu12-libs==${TENSORRT_VERSION}/g" \ | ||
pyproject.toml | ||
fi | ||
|
||
if [[ "${CU_VERSION::4}" < "cu12" ]]; then | ||
# replace dependencies from tensorrt-cu12-bindings/libs to tensorrt-cu11-bindings/libs | ||
sed -i -e "s/tensorrt-cu12==/tensorrt-${CU_VERSION::4}==/g" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or does it get handled here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, the cuda 11.8 is handled here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly seems fine
Seems like 12.1 got dropped is that us or PyTorch? |
@narendasan Very wierd is that cuda11.8 is still supported, they only deprecated cuda12.1 |
Description
Added the tensorrt test workflow:
example run:
https://github.com/pytorch/TensorRT/actions/runs/11675576873/job/32510381587?pr=3266
Type of change
Please delete options that are not relevant and/or add your own.
Checklist: