Skip to content

Commit

Permalink
cut release 2.5 (#3151)
Browse files Browse the repository at this point in the history
  • Loading branch information
lanluo-nvidia committed Sep 15, 2024
1 parent 8154408 commit 890670a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docker/dist-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ set -x
TOP_DIR=$(cd $(dirname $0); pwd)/..

if [[ -z "${USE_CXX11}" ]]; then
BUILD_CMD="python -m pip wheel . --extra-index-url https://download.pytorch.org/whl/nightly/cu124 -w dist"
BUILD_CMD="python -m pip wheel . --extra-index-url https://download.pytorch.org/whl/test/cu124 -w dist"
else
BUILD_CMD="python -m pip wheel . --config-setting="--build-option=--use-cxx11-abi" --extra-index-url https://download.pytorch.org/whl/nightly/cu124 -w dist"
BUILD_CMD="python -m pip wheel . --config-setting="--build-option=--use-cxx11-abi" --extra-index-url https://download.pytorch.org/whl/test/cu124 -w dist"
fi

# TensorRT restricts our pip version
Expand Down
6 changes: 3 additions & 3 deletions py/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
numpy
packaging
pybind11==2.6.2
--extra-index-url https://download.pytorch.org/whl/nightly/cu124
torch>=2.5.0.dev,<2.6.0
torchvision>=0.20.0.dev,<0.21.0
--extra-index-url https://download.pytorch.org/whl/test/cu124
torch>=2.5.0,<2.6.0
torchvision>=0.20.0,<0.21.0
--extra-index-url https://pypi.ngc.nvidia.com
pyyaml
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ requires = [
"typing-extensions>=4.7.0",
"future>=0.18.3",
"tensorrt-cu12==10.3.0",
"torch >=2.5.0.dev,<2.6.0",
"torch>=2.5.0,<2.6.0",
"pybind11==2.6.2",
"numpy",
]
Expand Down Expand Up @@ -54,7 +54,7 @@ keywords = [
"inference",
]
dependencies = [
"torch >=2.5.0.dev,<2.6.0",
"torch>=2.5.0,<2.6.0",
"tensorrt-cu12==10.3.0",
"tensorrt-cu12-bindings==10.3.0",
"tensorrt-cu12-libs==10.3.0",
Expand All @@ -65,8 +65,8 @@ dependencies = [
dynamic = ["version"]

[project.optional-dependencies]
torchvision = ["torchvision >=0.20.dev,<0.21.0"]
quantization = ["nvidia-modelopt[all]>=0.15.1"]
torchvision = ["torchvision>=0.20.0,<0.21.0"]
quantization = ["nvidia-modelopt[deploy,hf,torch]~=0.17.0"]
monitoring-tools = ["rich >= 13.7.1"]
jupyter = ["rich[jupyter] >= 13.7.1"]

Expand Down
5 changes: 3 additions & 2 deletions tests/py/dynamo/models/test_models_export.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# type: ignore
import platform
import unittest

import modelopt
Expand Down Expand Up @@ -241,8 +242,8 @@ def calibrate_loop(model):


@unittest.skipIf(
modelopt.__version__ < "0.16.1",
"Int8 quantization is supported in modelopt since 0.16.1 or later",
platform.system() != "Linux" or modelopt.__version__ < "0.17.0",
"Int8 quantization is supported in modelopt since 0.17.0 or later for linux only",
)
@pytest.mark.unit
def test_base_int8(ir):
Expand Down
3 changes: 1 addition & 2 deletions tests/py/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ pytest-xdist>=3.6.1
pyyaml
timm>=1.0.3
transformers==4.40.2
# TODO: once 0.16.1 is out, update it here
nvidia-modelopt>=0.15.1
nvidia-modelopt[deploy,hf,torch]~=0.17.0
--extra-index-url https://pypi.nvidia.com

0 comments on commit 890670a

Please sign in to comment.