mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
[TRT EP Perf Tool] Add annotations import to python script to support annotations on Python 3.8 (#23466)
### Description Adds `from __future__ import annotations` to python script to support annotations on Python 3.8. ### Motivation and Context Pipeline that runs this script is using Ubuntu 20.04's default python version (3.8), which does not support annotations unless one imports from __future__.
This commit is contained in:
parent
46dc0b5f21
commit
06fc73b7d4
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@
|
|||
Builds an Ubuntu-based Docker image with TensorRT.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import pty
|
||||
|
|
|
|||
Loading…
Reference in a new issue