From b0f7ffab497eac559da6764844bc09306ff4ab7a Mon Sep 17 00:00:00 2001 From: lanluo-nvidia Date: Fri, 11 Jul 2025 15:13:44 -0700 Subject: [PATCH] remove tensorrt as build dependency upgrade transformers library --- examples/dynamo/requirements.txt | 2 +- pyproject.toml | 8 -------- tests/modules/requirements.txt | 2 +- tests/py/requirements.txt | 2 +- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/examples/dynamo/requirements.txt b/examples/dynamo/requirements.txt index aeb2d5afc3..780d2c6c48 100644 --- a/examples/dynamo/requirements.txt +++ b/examples/dynamo/requirements.txt @@ -1,7 +1,7 @@ cupy==13.1.0 triton==2.3.0 diffusers==0.30.3 -transformers==4.51.0 +transformers==4.53.1 matplotlib pandas huggingface_hub diff --git a/pyproject.toml b/pyproject.toml index f32e3296d0..63f9b458b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,17 +6,9 @@ requires = [ "ninja>=1.11.0", "pyyaml>=6.0", "cffi>=1.15.1", - "typing-extensions>=4.7.0", - "future>=0.18.3", - "tensorrt-cu12>=10.11.0,<10.12.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)", - "tensorrt-cu12>=10.3.0,<10.4.0; platform_machine == 'aarch64' and 'tegra' in platform_release", "torch>=2.9.0.dev,<2.10.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)", "torch>=2.7.0,<2.8.0; platform_machine == 'aarch64' and 'tegra' in platform_release", "pybind11==2.6.2", - "numpy; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)", - "numpy<2.0.0; platform_machine == 'aarch64' and 'tegra' in platform_release", - "sympy", - "dllist", ] build-backend = "setuptools.build_meta" diff --git a/tests/modules/requirements.txt b/tests/modules/requirements.txt index 1f7a305a11..90a87e0888 100644 --- a/tests/modules/requirements.txt +++ b/tests/modules/requirements.txt @@ -1,2 +1,2 @@ timm==0.9.12 -transformers==4.52.1 +transformers==4.53.1 diff --git a/tests/py/requirements.txt b/tests/py/requirements.txt index 2fe0ed1fc1..c022378f6d 100644 --- a/tests/py/requirements.txt +++ b/tests/py/requirements.txt @@ -7,7 +7,7 @@ parameterized>=0.2.0 pytest>=8.2.1 pytest-xdist>=3.6.1 pyyaml -transformers==4.51.0 +transformers==4.53.1 nvidia-modelopt[all]; python_version >'3.9' and python_version <'3.13' --extra-index-url https://pypi.nvidia.com # flashinfer-python is not supported for python version 3.13 or higher