diff --git a/.github/actions/test-template/action.yml b/.github/actions/test-template/action.yml index e21d1bf4e9..ceb5af621c 100644 --- a/.github/actions/test-template/action.yml +++ b/.github/actions/test-template/action.yml @@ -239,6 +239,7 @@ runs: --runtime=nvidia --gpus all \ --shm-size=64g \ --env TRANSFORMERS_OFFLINE=0 \ + --cpus=40 \ --env HYDRA_FULL_ERROR=1 \ --env HF_HOME=/home/TestData/HF_HOME \ --env NEMO_HOME=/home/TestData/nemo_home \ diff --git a/.github/workflows/build-test-publish-wheel.yml b/.github/workflows/build-test-publish-wheel.yml index 7b92a09a7f..c160a748bb 100644 --- a/.github/workflows/build-test-publish-wheel.yml +++ b/.github/workflows/build-test-publish-wheel.yml @@ -37,53 +37,53 @@ jobs: pre-flight: uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_cicd_preflight.yml@v0.64.2 - build-test-publish-wheel: - needs: [pre-flight] - if: | - !(needs.pre-flight.outputs.docs_only == 'true' - || needs.pre-flight.outputs.is_deployment_workflow == 'true') - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_build_test_publish_wheel.yml@v0.65.1 - with: - dry-run: true - python-package: megatron.bridge - python-version: "3.10" - packaging: uv - no-publish: ${{ !(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/r')) }} - has-src-dir: true - skip-test-wheel: true - custom-container: nvcr.io/nvidia/pytorch:25.05-py3 - runner: self-hosted-nemo - no-build-isolation: true - submodules: recursive - container-options: "--gpus all --runtime=nvidia" - secrets: - TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ENDPOINT }} - SLACK_WEBHOOK_ADMIN: ${{ secrets.SLACK_WEBHOOK_ADMIN }} - GH_TOKEN: ${{ secrets.PAT }} + # build-test-publish-wheel: + # needs: [pre-flight] + # if: | + # !(needs.pre-flight.outputs.docs_only == 'true' + # || needs.pre-flight.outputs.is_deployment_workflow == 'true') + # uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_build_test_publish_wheel.yml@v0.65.1 + # with: + # dry-run: true + # python-package: megatron.bridge + # python-version: "3.10" + # packaging: uv + # no-publish: ${{ !(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/r')) }} + # has-src-dir: true + # skip-test-wheel: true + # custom-container: nvcr.io/nvidia/pytorch:25.05-py3 + # runner: self-hosted-nemo + # no-build-isolation: true + # submodules: recursive + # container-options: "--gpus all --runtime=nvidia" + # secrets: + # TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} + # TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + # SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ENDPOINT }} + # SLACK_WEBHOOK_ADMIN: ${{ secrets.SLACK_WEBHOOK_ADMIN }} + # GH_TOKEN: ${{ secrets.PAT }} - build-test-publish-wheel-summary: - needs: [pre-flight, build-test-publish-wheel] - if: | - ( - needs.pre-flight.outputs.docs_only == 'true' - || needs.pre-flight.outputs.is_deployment_workflow == 'true' - || always() - ) - && !cancelled() - runs-on: ubuntu-latest - steps: - - name: Result - run: | - FAILED_JOBS=$(gh run view $GITHUB_RUN_ID --json jobs --jq '[.jobs[] | select(.status == "completed" and .conclusion != "success")] | length') || echo 0 + # build-test-publish-wheel-summary: + # needs: [pre-flight, build-test-publish-wheel] + # if: | + # ( + # needs.pre-flight.outputs.docs_only == 'true' + # || needs.pre-flight.outputs.is_deployment_workflow == 'true' + # || always() + # ) + # && !cancelled() + # runs-on: ubuntu-latest + # steps: + # - name: Result + # run: | + # FAILED_JOBS=$(gh run view $GITHUB_RUN_ID --json jobs --jq '[.jobs[] | select(.status == "completed" and .conclusion != "success")] | length') || echo 0 - if [ "${FAILED_JOBS:-0}" -eq 0 ] || [ "$SKIPPING_IS_ALLOWED" == "true" ]; then - echo "✅ All previous jobs completed successfully" - exit 0 - else - echo "❌ Found $FAILED_JOBS failed job(s)" - # Show which jobs failed - gh run view $GITHUB_RUN_ID --json jobs --jq '.jobs[] | select(.status == "completed" and .conclusion != "success") | .name' - exit 1 - fi + # if [ "${FAILED_JOBS:-0}" -eq 0 ] || [ "$SKIPPING_IS_ALLOWED" == "true" ]; then + # echo "✅ All previous jobs completed successfully" + # exit 0 + # else + # echo "❌ Found $FAILED_JOBS failed job(s)" + # # Show which jobs failed + # gh run view $GITHUB_RUN_ID --json jobs --jq '.jobs[] | select(.status == "completed" and .conclusion != "success") | .name' + # exit 1 + # fi diff --git a/.github/workflows/cicd-main.yml b/.github/workflows/cicd-main.yml index 3e7e460ccb..ffa909a22a 100644 --- a/.github/workflows/cicd-main.yml +++ b/.github/workflows/cicd-main.yml @@ -39,10 +39,10 @@ jobs: needs: [pre-flight] if: | ( - needs.pre-flight.outputs.is_deployment_workflow == 'false' + needs.pre-flight.outputs.is_deployment_workflow == 'false' && needs.pre-flight.outputs.is_ci_workload == 'true' ) || ( - needs.pre-flight.outputs.is_deployment_workflow == 'false' + needs.pre-flight.outputs.is_deployment_workflow == 'false' && needs.pre-flight.outputs.is_ci_workload == 'false' && needs.pre-flight.outputs.docs_only == 'false' ) @@ -74,7 +74,7 @@ jobs: cicd-unit-tests: if: | ( - success() + success() || needs.pre-flight.outputs.is_ci_workload == 'true' || needs.pre-flight.outputs.force_run_all == 'true' ) @@ -105,8 +105,10 @@ jobs: matrix: include: - script: L2_Launch_training + timeout: 40 - script: L2_Launch_converter - script: L2_Launch_models + timeout: 40 - script: L2_Launch_recipes_llama_1b - script: L2_Launch_recipes_llama_3b - script: L2_Launch_recipes_mamba @@ -116,7 +118,7 @@ jobs: runs-on: self-hosted-nemo if: | ( - success() + success() || needs.pre-flight.outputs.is_ci_workload == 'true' || needs.pre-flight.outputs.force_run_all == 'true' ) @@ -132,7 +134,7 @@ jobs: uses: ./.github/actions/test-template with: script: ${{ matrix.script }} - timeout: 30 + timeout: ${{ matrix.timeout || 30 }} is_unit_test: "false" has-azure-credentials: "true" azure-client-id: ${{ secrets.AZURE_CLIENT_ID }} @@ -198,7 +200,7 @@ jobs: script: | await github.rest.repos.createCommitStatus({ owner: context.repo.owner, - repo: context.repo.repo, + repo: context.repo.repo, sha: context.sha, state: 'success', description: 'No code changes - coverage check skipped', diff --git a/.github/workflows/install-test.yml b/.github/workflows/install-test.yml index 61291b20f8..06ee39897d 100644 --- a/.github/workflows/install-test.yml +++ b/.github/workflows/install-test.yml @@ -32,60 +32,60 @@ jobs: pre-flight: uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_cicd_preflight.yml@v0.64.2 - pip-test-pytorch: - needs: [pre-flight] - if: | - !(needs.pre-flight.outputs.docs_only == 'true' - || needs.pre-flight.outputs.is_deployment_workflow == 'true') - runs-on: self-hosted-nemo - name: Pip - Python${{ matrix.python-version }}${{ matrix.extra-groups != '' && format('[{0}]', matrix.extra-groups) || '' }} - AMD64/Linux - NGC PyTorch - container: - image: nvcr.io/nvidia/pytorch:25.05-py3 - environment: nemo-ci - strategy: - fail-fast: false - matrix: - python-version: ["3.12"] - extra-groups: ["", "recipes"] - env: - EXTRA: ${{ matrix.extra-groups != '' && format('[{0}]', matrix.extra-groups) || '' }} - steps: - - name: Install git - shell: bash -x -e -u -o pipefail {0} - run: | - apt-get update - apt-get install -y git - - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Set PATH - run: | - echo "UV_PROJECT_ENVIRONMENT=/opt/venv" | tee -a "$GITHUB_ENV" - echo "UV_LINK_MODE=copy" | tee -a "$GITHUB_ENV" - echo "CUDA_HOME=/usr/local/cuda" | tee -a "$GITHUB_ENV" - echo "LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" | tee -a "$GITHUB_ENV" - echo "PATH=$HOME/.local/bin:$PATH:$CUDA_HOME/bin" | tee -a "$GITHUB_ENV" - echo "TORCH_CUDA_ARCH_LIST=6.0;6.1;7.0;7.5;8.0;8.6;9.0" | tee -a "$GITHUB_ENV" - - - name: Install megatron-bridge${{ matrix.extra-groups != '' && format('[{0}]', matrix.extra-groups) || '' }} - shell: bash -x -e -u -o pipefail {0} - run: bash docker/common/install.sh --base-image pytorch --python-version ${{ matrix.python-version }} - - - name: Checkout check-imports - uses: actions/checkout@v4 - with: - repository: NVIDIA-NeMo/FW-CI-templates - ref: v0.39.0 - path: FW-CI-templates - - - name: Check imports for megatron-bridge - uses: ./FW-CI-templates/.github/actions/check-imports - with: - package-name: megatron.bridge - python-binary: ${{ env.UV_PROJECT_ENVIRONMENT }}/bin/python + # pip-test-pytorch: + # needs: [pre-flight] + # if: | + # !(needs.pre-flight.outputs.docs_only == 'true' + # || needs.pre-flight.outputs.is_deployment_workflow == 'true') + # runs-on: self-hosted-nemo + # name: Pip - Python${{ matrix.python-version }}${{ matrix.extra-groups != '' && format('[{0}]', matrix.extra-groups) || '' }} - AMD64/Linux - NGC PyTorch + # container: + # image: nvcr.io/nvidia/pytorch:25.05-py3 + # environment: nemo-ci + # strategy: + # fail-fast: false + # matrix: + # python-version: ["3.12"] + # extra-groups: ["", "recipes"] + # env: + # EXTRA: ${{ matrix.extra-groups != '' && format('[{0}]', matrix.extra-groups) || '' }} + # steps: + # - name: Install git + # shell: bash -x -e -u -o pipefail {0} + # run: | + # apt-get update + # apt-get install -y git + + # - name: Checkout repository + # uses: actions/checkout@v4 + # with: + # submodules: recursive + + # - name: Set PATH + # run: | + # echo "UV_PROJECT_ENVIRONMENT=/opt/venv" | tee -a "$GITHUB_ENV" + # echo "UV_LINK_MODE=copy" | tee -a "$GITHUB_ENV" + # echo "CUDA_HOME=/usr/local/cuda" | tee -a "$GITHUB_ENV" + # echo "LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" | tee -a "$GITHUB_ENV" + # echo "PATH=$HOME/.local/bin:$PATH:$CUDA_HOME/bin" | tee -a "$GITHUB_ENV" + # echo "TORCH_CUDA_ARCH_LIST=6.0;6.1;7.0;7.5;8.0;8.6;9.0" | tee -a "$GITHUB_ENV" + + # - name: Install megatron-bridge${{ matrix.extra-groups != '' && format('[{0}]', matrix.extra-groups) || '' }} + # shell: bash -x -e -u -o pipefail {0} + # run: bash docker/common/install.sh --base-image pytorch --python-version ${{ matrix.python-version }} + + # - name: Checkout check-imports + # uses: actions/checkout@v4 + # with: + # repository: NVIDIA-NeMo/FW-CI-templates + # ref: v0.39.0 + # path: FW-CI-templates + + # - name: Check imports for megatron-bridge + # uses: ./FW-CI-templates/.github/actions/check-imports + # with: + # package-name: megatron.bridge + # python-binary: ${{ env.UV_PROJECT_ENVIRONMENT }}/bin/python uv-test-pytorch: needs: [pre-flight] @@ -129,7 +129,7 @@ jobs: run: bash docker/common/install.sh --base-image pytorch --use-uv install-test-summary: - needs: [pre-flight, pip-test-pytorch, uv-test-pytorch] + needs: [pre-flight, uv-test-pytorch] runs-on: ubuntu-latest name: Install test summary if: | diff --git a/docker/Dockerfile.ci b/docker/Dockerfile.ci index 7b5d1e2b28..b1b25aff11 100644 --- a/docker/Dockerfile.ci +++ b/docker/Dockerfile.ci @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM nvcr.io/nvidia/pytorch:25.06-py3 +FROM nvcr.io/nvidia/pytorch:25.09-py3 WORKDIR /opt/Megatron-Bridge ENV PATH="/root/.local/bin:$PATH" ENV UV_PROJECT_ENVIRONMENT=/opt/venv @@ -21,7 +21,6 @@ ENV UV_LINK_MODE=copy ENV CUDA_HOME=/usr/local/cuda ENV PATH=$PATH:$CUDA_HOME/bin ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH -ENV TORCH_CUDA_ARCH_LIST="6.0;6.1;7.0;7.5;8.0;8.6;9.0" COPY . . RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ --mount=type=cache,target=/var/lib/apt,sharing=locked \ @@ -30,4 +29,4 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ bash docker/common/install.sh --base-image pytorch --use-uv && \ uv cache prune --ci -WORKDIR /opt/Megatron-Bridge \ No newline at end of file +WORKDIR /opt/Megatron-Bridge diff --git a/docker/common/install.sh b/docker/common/install.sh index 7b588af67a..e1cc7268be 100644 --- a/docker/common/install.sh +++ b/docker/common/install.sh @@ -60,7 +60,7 @@ main() { add-apt-repository ppa:deadsnakes/ppa -y apt-get install -y python$PYTHON_VERSION-dev python$PYTHON_VERSION-venv update-alternatives --install /usr/bin/python3 python3 /usr/bin/python$PYTHON_VERSION 1 - + # Install tools apt-get update apt-get install -y wget curl git cmake @@ -73,7 +73,7 @@ main() { dpkg -i cuda-keyring_1.1-1_all.deb rm cuda-keyring_1.1-1_all.deb apt-get update - apt-get install -y cuda-toolkit-12-8 cudnn-cuda-12 libcudnn9-cuda-12 libcutlass-dev + apt-get install -y cuda-toolkit-12-8 cudnn-cuda-12 libcudnn9-cuda-12 libcutlass-dev fi # Clean up @@ -103,7 +103,7 @@ main() { else UV_ARGS=() fi - + # Install uv UV_VERSION="0.7.2" curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | sh diff --git a/pyproject.toml b/pyproject.toml index c90babc5eb..8683b6abb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,8 +77,12 @@ dependencies = [ "pyyaml>=6.0.2", "tqdm>=4.67.1", "hydra-core>1.3,<=1.3.2", - "megatron-core[dev,mlm]>=0.14.0a0,<0.16.0", + "megatron-core[dev,mlm]>=0.15.0a0,<0.16.0", "qwen-vl-utils", + "transformer-engine[pytorch]>=2.9.0a0,<2.10.0", + "mamba-ssm", + "nvidia-resiliency-ext", + "causal-conv1d", ] @@ -100,13 +104,17 @@ override-dependencies = [ "torch; sys_platform == 'never'", "torchvision; sys_platform == 'never'", "triton; sys_platform == 'never'", + "transformer-engine[pytorch]>=2.9.0a0,<2.10.0", ] -# uv.sources allows us to override dependencies with VCS commits. +# uv.sources allows us to override dependencies with VCS commits. # Lets use this only for debugging purposes, but not for production (main). [tool.uv.sources] -transformer-engine = { git = "https://github.com/NVIDIA/TransformerEngine.git", rev = "0289e76380088358a584d809faf69effab1a7cda" } # on `release_v2.7 +transformer-engine = { git = "https://github.com/NVIDIA/TransformerEngine.git", rev = "release_v2.9" } megatron-core = { path = "3rdparty/Megatron-LM/" } +mamba-ssm = { git = "https://github.com/state-spaces/mamba.git", rev = "6b32be06d026e170b3fdaf3ae6282c5a6ff57b06" } +nvidia-resiliency-ext = { git = "https://github.com/NVIDIA/nvidia-resiliency-ext.git", rev = "54f85fe422d296cf04ea524130014bd3a2c3add1" } +causal-conv1d = { git = "https://github.com/Dao-AILab/causal-conv1d.git", rev = "9d700d167c4ad299b0a5265ed1bdb4ee4a0ca111" } [project.optional-dependencies] recipes = [ @@ -139,7 +147,7 @@ dev = [ "ruff>=0.9.9", "mypy>=1.8.0", ] -build = ["setuptools", "torch", "pybind11", "Cython>=3.0.0", "numpy<2.0.0", "ninja"] +build = ["setuptools", "torch", "pybind11", "Cython>=3.0.0", "numpy<2.0.0", "ninja", "nvidia-mathdx"] [project.entry-points."nemo_run.cli"] lm = "megatron.bridge" diff --git a/tests/unit_tests/Launch_Unit_Tests.sh b/tests/unit_tests/Launch_Unit_Tests.sh index 53d3f32ec0..0008dc5b4b 100644 --- a/tests/unit_tests/Launch_Unit_Tests.sh +++ b/tests/unit_tests/Launch_Unit_Tests.sh @@ -16,7 +16,7 @@ set -xeuo pipefail # Exit immediately if a command exits with a non-zero status CUDA_VISIBLE_DEVICES="0,1" coverage run -a --data-file=/opt/Megatron-Bridge/.coverage --source=/opt/Megatron-Bridge/ -m pytest \ - --timeout=0.5 \ + --timeout=0.75 \ -o log_cli=true \ -o log_cli_level=INFO \ --disable-warnings \ diff --git a/uv.lock b/uv.lock index 7dd53080e9..78a9871c1d 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 2 +revision = 3 requires-python = ">=3.10" resolution-markers = [ "python_full_version >= '3.14' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", @@ -25,6 +25,7 @@ prerelease-mode = "allow" overrides = [ { name = "torch", marker = "sys_platform == 'never'" }, { name = "torchvision", marker = "sys_platform == 'never'" }, + { name = "transformer-engine", extras = ["pytorch"], git = "https://github.com/NVIDIA/TransformerEngine.git?rev=release_v2.9" }, { name = "triton", marker = "sys_platform == 'never'" }, ] @@ -598,14 +599,13 @@ wheels = [ [[package]] name = "causal-conv1d" -version = "1.5.3.post1" -source = { registry = "https://pypi.org/simple" } +version = "1.5.3" +source = { git = "https://github.com/Dao-AILab/causal-conv1d.git?rev=9d700d167c4ad299b0a5265ed1bdb4ee4a0ca111#9d700d167c4ad299b0a5265ed1bdb4ee4a0ca111" } dependencies = [ { name = "ninja" }, { name = "packaging" }, { name = "torch", marker = "sys_platform == 'never'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/64/cb/104778c728dc3d5ea3bf65a484e3a4cdbe894bdaa2586320e2f61d007b8c/causal_conv1d-1.5.3.post1.tar.gz", hash = "sha256:aba1b717484472d0b2f2e40520a1c03f35fe5155555bd753d1c324afc56ba468", size = 24198, upload-time = "2025-10-10T10:16:23.921Z" } [[package]] name = "certifi" @@ -1992,8 +1992,8 @@ wheels = [ [[package]] name = "mamba-ssm" -version = "2.2.6.post3" -source = { registry = "https://pypi.org/simple" } +version = "2.2.5" +source = { git = "https://github.com/state-spaces/mamba.git?rev=6b32be06d026e170b3fdaf3ae6282c5a6ff57b06#6b32be06d026e170b3fdaf3ae6282c5a6ff57b06" } dependencies = [ { name = "einops" }, { name = "ninja" }, @@ -2003,7 +2003,6 @@ dependencies = [ { name = "transformers" }, { name = "triton", marker = "sys_platform == 'never'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b6/0c/9373a469ff7a33bdd0644e55fa45165ba3900274dcf7fe9f10ccc232aef9/mamba_ssm-2.2.6.post3.tar.gz", hash = "sha256:826a3cdb651959f191dac64502f8a29627d9116fe6bb7c57e4f562da1aea7bf3", size = 113913, upload-time = "2025-10-10T06:00:44.939Z" } [[package]] name = "markdown" @@ -2145,9 +2144,12 @@ wheels = [ name = "megatron-bridge" source = { editable = "." } dependencies = [ + { name = "causal-conv1d" }, { name = "datasets" }, { name = "hydra-core" }, + { name = "mamba-ssm" }, { name = "megatron-core", extra = ["dev", "mlm"] }, + { name = "nvidia-resiliency-ext" }, { name = "omegaconf" }, { name = "pyyaml" }, { name = "qwen-vl-utils" }, @@ -2156,6 +2158,7 @@ dependencies = [ { name = "six" }, { name = "tensorboard" }, { name = "tqdm" }, + { name = "transformer-engine" }, { name = "typing-extensions" }, { name = "wandb" }, ] @@ -2170,6 +2173,7 @@ build = [ { name = "cython" }, { name = "ninja" }, { name = "numpy" }, + { name = "nvidia-mathdx" }, { name = "pybind11" }, { name = "setuptools" }, { name = "torch", marker = "sys_platform == 'never'" }, @@ -2204,10 +2208,13 @@ test = [ [package.metadata] requires-dist = [ + { name = "causal-conv1d", git = "https://github.com/Dao-AILab/causal-conv1d.git?rev=9d700d167c4ad299b0a5265ed1bdb4ee4a0ca111" }, { name = "datasets" }, { name = "hydra-core", specifier = ">1.3,<=1.3.2" }, + { name = "mamba-ssm", git = "https://github.com/state-spaces/mamba.git?rev=6b32be06d026e170b3fdaf3ae6282c5a6ff57b06" }, { name = "megatron-core", extras = ["dev", "mlm"], directory = "3rdparty/Megatron-LM" }, { name = "nemo-run", marker = "extra == 'recipes'", specifier = ">=0.5.0a0,<0.6.0" }, + { name = "nvidia-resiliency-ext", git = "https://github.com/NVIDIA/nvidia-resiliency-ext.git?rev=54f85fe422d296cf04ea524130014bd3a2c3add1" }, { name = "omegaconf", specifier = ">=2.3.0" }, { name = "pyyaml", specifier = ">=6.0.2" }, { name = "qwen-vl-utils" }, @@ -2216,6 +2223,7 @@ requires-dist = [ { name = "six", specifier = ">=1.17.0" }, { name = "tensorboard", specifier = ">=2.19.0" }, { name = "tqdm", specifier = ">=4.67.1" }, + { name = "transformer-engine", extras = ["pytorch"], git = "https://github.com/NVIDIA/TransformerEngine.git?rev=release_v2.9" }, { name = "typing-extensions" }, { name = "wandb", specifier = ">=0.19.10" }, ] @@ -2226,6 +2234,7 @@ build = [ { name = "cython", specifier = ">=3.0.0" }, { name = "ninja" }, { name = "numpy", specifier = "<2.0.0" }, + { name = "nvidia-mathdx" }, { name = "pybind11" }, { name = "setuptools" }, { name = "torch" }, @@ -2279,13 +2288,14 @@ dev = [ { name = "nvidia-modelopt", marker = "sys_platform != 'darwin'" }, { name = "nvidia-resiliency-ext" }, { name = "nvtx" }, - { name = "onnxscript" }, + { name = "onnxscript", version = "0.5.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, + { name = "onnxscript", version = "0.5.5.dev20251019", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, { name = "opentelemetry-api" }, { name = "setuptools" }, { name = "tensorstore", version = "0.1.74", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, { name = "tensorstore", version = "0.1.78", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, { name = "tqdm" }, - { name = "transformer-engine", extra = ["pytorch"] }, + { name = "transformer-engine" }, { name = "wget" }, ] mlm = [ @@ -3010,6 +3020,14 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/90/53/bda935ca72a05ed84719210b38b7e10e6607066993fe185614149f191681/nvidia_cutlass_dsl-4.3.0.dev0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:cb0f87ed600efa442845dac5c7a30181351d9de80e1168cf1d090f4e0ff5e541", size = 62491878, upload-time = "2025-10-21T09:40:21.965Z" }, ] +[[package]] +name = "nvidia-mathdx" +version = "25.1.1" +source = { registry = "https://pypi.org/simple" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/59/00/f1a73ac224d466b31b6eb09794656112e896185678720b05668777e87db3/nvidia_mathdx-25.1.1-py3-none-any.whl", hash = "sha256:4fb948fe4842d24e679f3d0c140c8a0e8e24c3c7ae5eb6e08584253ad94a198b", size = 39894902, upload-time = "2025-05-06T22:58:32.29Z" }, +] + [[package]] name = "nvidia-ml-py" version = "13.580.82" @@ -3062,7 +3080,7 @@ wheels = [ [[package]] name = "nvidia-resiliency-ext" version = "0.4.1" -source = { registry = "https://pypi.org/simple" } +source = { git = "https://github.com/NVIDIA/nvidia-resiliency-ext.git?rev=54f85fe422d296cf04ea524130014bd3a2c3add1#54f85fe422d296cf04ea524130014bd3a2c3add1" } dependencies = [ { name = "defusedxml" }, { name = "nvidia-ml-py" }, @@ -3072,14 +3090,6 @@ dependencies = [ { name = "pyyaml" }, { name = "torch", marker = "sys_platform == 'never'" }, ] -wheels = [ - { url = "https://files.pythonhosted.org/packages/a7/8c/6547d9fdea9730d4f69a19ca492ccbe221768f8473b82502a78a824acc3d/nvidia_resiliency_ext-0.4.1-cp310-cp310-manylinux_2_31_aarch64.whl", hash = "sha256:cf80599411018ebbf03da64769527dee6b37746b72b8606f919b7999633770b8", size = 442891, upload-time = "2025-07-17T03:53:38.878Z" }, - { url = "https://files.pythonhosted.org/packages/34/0d/520cab980949ad11bd5291784fea309bcd6654a9c97943a3a87644c1d111/nvidia_resiliency_ext-0.4.1-cp310-cp310-manylinux_2_31_x86_64.whl", hash = "sha256:0c23e621d598ba436549db83deeb3569c19df0194b89fe6169d62b6ead711be3", size = 448044, upload-time = "2025-07-17T03:48:30.851Z" }, - { url = "https://files.pythonhosted.org/packages/46/77/8cda264b262e2868a4e6ebcddaea112200b1e34b8d5a35a2fe3b4978d137/nvidia_resiliency_ext-0.4.1-cp311-cp311-manylinux_2_31_aarch64.whl", hash = "sha256:d8ca454a8b8abef72e0ff0e33914686c263414e8891471c02a9f6af9d2d6b925", size = 443649, upload-time = "2025-07-17T03:49:16.183Z" }, - { url = "https://files.pythonhosted.org/packages/3a/53/029cc7493b5833cb8dfa201f15a1e422e2e1cc6308d34c5b0a90028a73fd/nvidia_resiliency_ext-0.4.1-cp311-cp311-manylinux_2_31_x86_64.whl", hash = "sha256:dde6034f29350ac6326cdd861ceec641bdd93be0eddbf034739f4cd9452a4dd9", size = 449189, upload-time = "2025-07-17T03:52:15.24Z" }, - { url = "https://files.pythonhosted.org/packages/70/05/38d491962273c7905708762279f440520eb79f3c00b67a023497215ad023/nvidia_resiliency_ext-0.4.1-cp312-cp312-manylinux_2_31_aarch64.whl", hash = "sha256:b3bd5f01535574b16d0f38bca6e39afe3806c4a2896eee1b321cd944e00025a7", size = 444570, upload-time = "2025-07-17T03:50:58.877Z" }, - { url = "https://files.pythonhosted.org/packages/18/8b/4cb8aa2bbdf3705d3034c3f3dacdadb03b3b7dd3dc7f5200e64663fb477f/nvidia_resiliency_ext-0.4.1-cp312-cp312-manylinux_2_31_x86_64.whl", hash = "sha256:ca9f8de465af345952bedbea53c90c0e2323d88cfd830ded0e806fad91845c0e", size = 450280, upload-time = "2025-07-17T03:49:55.327Z" }, -] [[package]] name = "nvidia-sphinx-theme" @@ -3131,12 +3141,19 @@ wheels = [ name = "onnx" version = "1.19.0" source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.14' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", + "python_full_version == '3.13.*' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", + "python_full_version >= '3.13' and platform_python_implementation == 'PyPy' and sys_platform == 'linux'", + "python_full_version >= '3.14' and platform_python_implementation != 'PyPy' and sys_platform != 'linux'", + "python_full_version == '3.13.*' and platform_python_implementation != 'PyPy' and sys_platform != 'linux'", + "python_full_version >= '3.13' and platform_python_implementation == 'PyPy' and sys_platform != 'linux'", +] dependencies = [ { name = "ml-dtypes", version = "0.4.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, - { name = "ml-dtypes", version = "0.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, - { name = "numpy" }, - { name = "protobuf" }, - { name = "typing-extensions" }, + { name = "numpy", marker = "python_full_version >= '3.13'" }, + { name = "protobuf", marker = "python_full_version >= '3.13'" }, + { name = "typing-extensions", marker = "python_full_version >= '3.13'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/5b/bf/b0a63ee9f3759dcd177b28c6f2cb22f2aecc6d9b3efecaabc298883caa5f/onnx-1.19.0.tar.gz", hash = "sha256:aa3f70b60f54a29015e41639298ace06adf1dd6b023b9b30f1bca91bb0db9473", size = 11949859, upload-time = "2025-08-27T02:34:27.107Z" } wheels = [ @@ -3170,38 +3187,156 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/67/ec/8761048eabef4dad55af4c002c672d139b9bd47c3616abaed642a1710063/onnx-1.19.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:236bc0e60d7c0f4159300da639953dd2564df1c195bce01caba172a712e75af4", size = 18027605, upload-time = "2025-08-27T02:34:08.962Z" }, ] +[[package]] +name = "onnx" +version = "1.19.1" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", + "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy' and sys_platform == 'linux'", + "python_full_version == '3.11.*' and sys_platform == 'linux'", + "python_full_version < '3.11' and sys_platform == 'linux'", + "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy' and sys_platform != 'linux'", + "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy' and sys_platform != 'linux'", + "python_full_version == '3.11.*' and sys_platform != 'linux'", + "python_full_version < '3.11' and sys_platform != 'linux'", +] +dependencies = [ + { name = "ml-dtypes", version = "0.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "numpy", marker = "python_full_version < '3.13'" }, + { name = "protobuf", marker = "python_full_version < '3.13'" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/27/2f/c619eb65769357e9b6de9212c9a821ab39cd484448e5d6b3fb5fb0a64c6d/onnx-1.19.1.tar.gz", hash = "sha256:737524d6eb3907d3499ea459c6f01c5a96278bb3a0f2ff8ae04786fb5d7f1ed5", size = 12033525, upload-time = "2025-10-10T04:01:34.342Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5b/f3/892eea0206ed13a986239bd508c82b974387ef1b0ffd83ece0ce0725aaf6/onnx-1.19.1-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:7343250cc5276cf439fe623b8f92e11cf0d1eebc733ae4a8b2e86903bb72ae68", size = 18319433, upload-time = "2025-10-10T03:59:47.236Z" }, + { url = "https://files.pythonhosted.org/packages/9c/f3/c7ea4a1dfda9b9ddeff914a601ffaf5ed151b3352529f223eae74c03c8d1/onnx-1.19.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1fb8f79de7f3920bb82b537f3c6ac70c0ce59f600471d9c3eed2b5f8b079b748", size = 18043327, upload-time = "2025-10-10T03:59:50.854Z" }, + { url = "https://files.pythonhosted.org/packages/8d/eb/30159bb6a108b03f2b7521410369a5bd8d296be3fbf0b30ab7acd9ef42ad/onnx-1.19.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:92b9d2dece41cc84213dbbfd1acbc2a28c27108c53bd28ddb6d1043fbfcbd2d5", size = 18216877, upload-time = "2025-10-10T03:59:54.512Z" }, + { url = "https://files.pythonhosted.org/packages/0c/86/dc034e5a723a20ca45aa8dd76dda53c358a5f955908e1436f42c21bdfb3a/onnx-1.19.1-cp310-cp310-win32.whl", hash = "sha256:c0b1a2b6bb19a0fc9f5de7661a547136d082c03c169a5215e18ff3ececd2a82f", size = 16344116, upload-time = "2025-10-10T03:59:57.991Z" }, + { url = "https://files.pythonhosted.org/packages/b6/60/537f2c19050f71445ee00ed91e78a396b6189dd1fce61b29ac6a0d651c7e/onnx-1.19.1-cp310-cp310-win_amd64.whl", hash = "sha256:1c0498c00db05fcdb3426697d330dcecc3f60020015065e2c76fa795f2c9a605", size = 16462819, upload-time = "2025-10-10T04:00:01.157Z" }, + { url = "https://files.pythonhosted.org/packages/36/07/0019c72924909e4f64b9199770630ab7b8d7914b912b03230e68f5eda7ae/onnx-1.19.1-cp311-cp311-macosx_12_0_universal2.whl", hash = "sha256:17aaf5832126de0a5197a5864e4f09a764dd7681d3035135547959b4b6b77a09", size = 18320936, upload-time = "2025-10-10T04:00:04.235Z" }, + { url = "https://files.pythonhosted.org/packages/af/2f/5c47acf740dc35f0decc640844260fbbdc0efa0565657c93fd7ff30f13f3/onnx-1.19.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:01b292a4d0b197c45d8184545bbc8ae1df83466341b604187c1b05902cb9c920", size = 18044269, upload-time = "2025-10-10T04:00:07.449Z" }, + { url = "https://files.pythonhosted.org/packages/d5/61/6c457ee8c3a62a3cad0a4bfa4c5436bb3ac4df90c3551d40bee1224b5b51/onnx-1.19.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1839af08ab4a909e4af936b8149c27f8c64b96138981024e251906e0539d8bf9", size = 18218092, upload-time = "2025-10-10T04:00:11.135Z" }, + { url = "https://files.pythonhosted.org/packages/54/d5/ab832e1369505e67926a70e9a102061f89ad01f91aa296c4b1277cb81b25/onnx-1.19.1-cp311-cp311-win32.whl", hash = "sha256:0bdbb676e3722bd32f9227c465d552689f49086f986a696419d865cb4e70b989", size = 16344809, upload-time = "2025-10-10T04:00:14.634Z" }, + { url = "https://files.pythonhosted.org/packages/8b/b5/6eb4611d24b85002f878ba8476b4cecbe6f9784c0236a3c5eff85236cc0a/onnx-1.19.1-cp311-cp311-win_amd64.whl", hash = "sha256:1346853df5c1e3ebedb2e794cf2a51e0f33759affd655524864ccbcddad7035b", size = 16464319, upload-time = "2025-10-10T04:00:18.235Z" }, + { url = "https://files.pythonhosted.org/packages/0c/ff/f0e1f06420c70e20d497fec7c94a864d069943b6312bedd4224c0ab946f8/onnx-1.19.1-cp311-cp311-win_arm64.whl", hash = "sha256:2d69c280c0e665b7f923f499243b9bb84fe97970b7a4668afa0032045de602c8", size = 16437503, upload-time = "2025-10-10T04:00:21.247Z" }, + { url = "https://files.pythonhosted.org/packages/50/07/f6c5b2cffef8c29e739616d1415aea22f7b7ef1f19c17f02b7cff71f5498/onnx-1.19.1-cp312-cp312-macosx_12_0_universal2.whl", hash = "sha256:3612193a89ddbce5c4e86150869b9258780a82fb8c4ca197723a4460178a6ce9", size = 18327840, upload-time = "2025-10-10T04:00:24.259Z" }, + { url = "https://files.pythonhosted.org/packages/93/20/0568ebd52730287ae80cac8ac893a7301c793ea1630984e2519ee92b02a9/onnx-1.19.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:6c2fd2f744e7a3880ad0c262efa2edf6d965d0bd02b8f327ec516ad4cb0f2f15", size = 18042539, upload-time = "2025-10-10T04:00:27.693Z" }, + { url = "https://files.pythonhosted.org/packages/14/fd/cd7a0fd10a04f8cc5ae436b63e0022e236fe51b9dbb8ee6317fd48568c72/onnx-1.19.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:485d3674d50d789e0ee72fa6f6e174ab81cb14c772d594f992141bd744729d8a", size = 18218271, upload-time = "2025-10-10T04:00:30.495Z" }, + { url = "https://files.pythonhosted.org/packages/65/68/cc8b8c05469fe08384b446304ad7e6256131ca0463bf6962366eebec98c0/onnx-1.19.1-cp312-cp312-win32.whl", hash = "sha256:638bc56ff1a5718f7441e887aeb4e450f37a81c6eac482040381b140bd9ba601", size = 16345111, upload-time = "2025-10-10T04:00:34.982Z" }, + { url = "https://files.pythonhosted.org/packages/c7/5e/d1cb16693598a512c2cf9ffe0841d8d8fd2c83ae8e889efd554f5aa427cf/onnx-1.19.1-cp312-cp312-win_amd64.whl", hash = "sha256:bc7e2e4e163e679721e547958b5a7db875bf822cad371b7c1304aa4401a7c7a4", size = 16465621, upload-time = "2025-10-10T04:00:39.107Z" }, + { url = "https://files.pythonhosted.org/packages/90/32/da116cc61fdef334782aa7f87a1738431dd1af1a5d1a44bd95d6d51ad260/onnx-1.19.1-cp312-cp312-win_arm64.whl", hash = "sha256:17c215b1c0f20fe93b4cbe62668247c1d2294b9bc7f6be0ca9ced28e980c07b7", size = 16437505, upload-time = "2025-10-10T04:00:42.255Z" }, + { url = "https://files.pythonhosted.org/packages/b4/b8/ab1fdfe2e8502f4dc4289fc893db35816bd20d080d8370f86e74dda5f598/onnx-1.19.1-cp313-cp313-macosx_12_0_universal2.whl", hash = "sha256:4e5f938c68c4dffd3e19e4fd76eb98d298174eb5ebc09319cdd0ec5fe50050dc", size = 18327815, upload-time = "2025-10-10T04:00:45.682Z" }, + { url = "https://files.pythonhosted.org/packages/04/40/eb875745a4b92aea10e5e32aa2830f409c4d7b6f7b48ca1c4eaad96636c5/onnx-1.19.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:86e20a5984b017feeef2dbf4ceff1c7c161ab9423254968dd77d3696c38691d0", size = 18041464, upload-time = "2025-10-10T04:00:48.557Z" }, + { url = "https://files.pythonhosted.org/packages/cf/8e/8586135f40dbe4989cec4d413164bc8fc5c73d37c566f33f5ea3a7f2b6f6/onnx-1.19.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c8d9c467f0f29993c12f330736af87972f30adb8329b515f39d63a0db929cb2c", size = 18218244, upload-time = "2025-10-10T04:00:51.891Z" }, + { url = "https://files.pythonhosted.org/packages/51/b5/4201254b8683129db5da3fb55aa1f7e56d0a8d45c66ce875dec21ca1ff25/onnx-1.19.1-cp313-cp313-win32.whl", hash = "sha256:65eee353a51b4e4ca3e797784661e5376e2b209f17557e04921eac9166a8752e", size = 16345330, upload-time = "2025-10-10T04:00:54.858Z" }, + { url = "https://files.pythonhosted.org/packages/69/67/c6d239afbcdbeb6805432969b908b5c9f700c96d332b34e3f99518d76caf/onnx-1.19.1-cp313-cp313-win_amd64.whl", hash = "sha256:c3bc87e38b53554b1fc9ef7b275c81c6f5c93c90a91935bb0aa8d4d498a6d48e", size = 16465567, upload-time = "2025-10-10T04:00:57.893Z" }, + { url = "https://files.pythonhosted.org/packages/99/fe/89f1e40f5bc54595ff0dcf5391ce19e578b528973ccc74dd99800196d30d/onnx-1.19.1-cp313-cp313-win_arm64.whl", hash = "sha256:e41496f400afb980ec643d80d5164753a88a85234fa5c06afdeebc8b7d1ec252", size = 16437562, upload-time = "2025-10-10T04:01:00.703Z" }, + { url = "https://files.pythonhosted.org/packages/86/43/b186ccbc8fe7e93643a6a6d40bbf2bb6ce4fb9469bbd3453c77e270c50ad/onnx-1.19.1-cp313-cp313t-macosx_12_0_universal2.whl", hash = "sha256:5f6274abf0fd74e80e78ecbb44bd44509409634525c89a9b38276c8af47dc0a2", size = 18355703, upload-time = "2025-10-10T04:01:03.735Z" }, + { url = "https://files.pythonhosted.org/packages/60/f1/22ee4d8b8f9fa4cb1d1b9579da3b4b5187ddab33846ec5ac744af02c0e2b/onnx-1.19.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:07dcd4d83584eb4bf8f21ac04c82643712e5e93ac2a0ed10121ec123cb127e1e", size = 18047830, upload-time = "2025-10-10T04:01:06.552Z" }, + { url = "https://files.pythonhosted.org/packages/8e/a4/8f3d51e3a095d42cdf2039a590cff06d024f2a10efbd0b1a2a6b3825f019/onnx-1.19.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1975860c3e720db25d37f1619976582828264bdcc64fa7511c321ac4fc01add3", size = 18221126, upload-time = "2025-10-10T04:01:09.77Z" }, + { url = "https://files.pythonhosted.org/packages/4f/0d/f9d6c2237083f1aac14b37f0b03b0d81f1147a8e2af0c3828165e0a6a67b/onnx-1.19.1-cp313-cp313t-win_amd64.whl", hash = "sha256:9807d0e181f6070ee3a6276166acdc571575d1bd522fc7e89dba16fd6e7ffed9", size = 16465560, upload-time = "2025-10-10T04:01:13.212Z" }, + { url = "https://files.pythonhosted.org/packages/36/70/8418a58faa7d606d6a92cab69ae8d361b3b3969bf7e7e9a65a86d5d1b674/onnx-1.19.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b6ee83e6929d75005482d9f304c502ac7c9b8d6db153aa6b484dae74d0f28570", size = 18042812, upload-time = "2025-10-10T04:01:15.919Z" }, +] + [[package]] name = "onnx-ir" version = "0.1.8" source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.14' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", + "python_full_version == '3.13.*' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", + "python_full_version >= '3.13' and platform_python_implementation == 'PyPy' and sys_platform == 'linux'", + "python_full_version >= '3.14' and platform_python_implementation != 'PyPy' and sys_platform != 'linux'", + "python_full_version == '3.13.*' and platform_python_implementation != 'PyPy' and sys_platform != 'linux'", + "python_full_version >= '3.13' and platform_python_implementation == 'PyPy' and sys_platform != 'linux'", +] dependencies = [ { name = "ml-dtypes", version = "0.4.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, - { name = "ml-dtypes", version = "0.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, - { name = "numpy" }, - { name = "onnx" }, - { name = "typing-extensions" }, + { name = "numpy", marker = "python_full_version >= '3.13'" }, + { name = "onnx", version = "1.19.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, + { name = "typing-extensions", marker = "python_full_version >= '3.13'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/af/4a/7ea3952e556e7281b8bfe7f7fce016a13fdac85544d6d6af8ebca5cae160/onnx_ir-0.1.8.tar.gz", hash = "sha256:85ea59eaf165b2b107788193480a260e2723cfc7a1dac1bde7085fd0b7e380d7", size = 108961, upload-time = "2025-09-05T15:45:33.887Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/0f/1c/3bb51fa9e278cbc655a1943c8016163d76a6e24137e73e5198ebc20fc965/onnx_ir-0.1.8-py3-none-any.whl", hash = "sha256:61a42021b6249e566ff3b89a03342bc88dce4dc2d984b97cfb060f33ef179f8a", size = 125316, upload-time = "2025-09-05T15:45:31.211Z" }, ] +[[package]] +name = "onnx-ir" +version = "0.1.11" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", + "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy' and sys_platform == 'linux'", + "python_full_version == '3.11.*' and sys_platform == 'linux'", + "python_full_version < '3.11' and sys_platform == 'linux'", + "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy' and sys_platform != 'linux'", + "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy' and sys_platform != 'linux'", + "python_full_version == '3.11.*' and sys_platform != 'linux'", + "python_full_version < '3.11' and sys_platform != 'linux'", +] +dependencies = [ + { name = "ml-dtypes", version = "0.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "numpy", marker = "python_full_version < '3.13'" }, + { name = "onnx", version = "1.19.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/4b/c4/d7c52d89120ae2d90025bf30999f44ec029bb297be706ada81a2b7ce3e73/onnx_ir-0.1.11.tar.gz", hash = "sha256:05fd55f7548f4301a17476c53e19c16f92f4fc4c0f468fcd8d3afb6869f8ae75", size = 112093, upload-time = "2025-10-15T22:20:46.785Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3a/de/a9bb49f36e2d27ff2b1941972ce01838c9032155256e3380960c6f545455/onnx_ir-0.1.11-py3-none-any.whl", hash = "sha256:f23edd0d3f49b92abfab275625cb325da3978f5b41ba8cdaa28e85e87b44d2c1", size = 128694, upload-time = "2025-10-15T22:20:45.208Z" }, +] + [[package]] name = "onnxscript" -version = "0.3.1" +version = "0.5.0" source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.14' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", + "python_full_version == '3.13.*' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", + "python_full_version >= '3.13' and platform_python_implementation == 'PyPy' and sys_platform == 'linux'", + "python_full_version >= '3.14' and platform_python_implementation != 'PyPy' and sys_platform != 'linux'", + "python_full_version == '3.13.*' and platform_python_implementation != 'PyPy' and sys_platform != 'linux'", + "python_full_version >= '3.13' and platform_python_implementation == 'PyPy' and sys_platform != 'linux'", +] dependencies = [ { name = "ml-dtypes", version = "0.4.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, + { name = "numpy", marker = "python_full_version >= '3.13'" }, + { name = "onnx", version = "1.19.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, + { name = "onnx-ir", version = "0.1.8", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, + { name = "packaging", marker = "python_full_version >= '3.13'" }, + { name = "typing-extensions", marker = "python_full_version >= '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f5/2f/0bb2b6ca727e4d5173f640527f402ab4225def4bc8d667269b83047be8c4/onnxscript-0.5.0.tar.gz", hash = "sha256:4aba215e1f80fbcd07ba0d97d6bca96797fc3e9639eacb5434d35317ce1406aa", size = 588762, upload-time = "2025-09-12T16:57:46.484Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/f7/f0eb0b10771637a8c176a3b0594c65c5ba3cea440847741297901cef2c5e/onnxscript-0.5.0-py3-none-any.whl", hash = "sha256:da33715ac8ec80e0263a5200f1ad1b3532225804c05a13a0d6ea83712b5b4a8f", size = 684685, upload-time = "2025-09-12T16:57:48.869Z" }, +] + +[[package]] +name = "onnxscript" +version = "0.5.5.dev20251019" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'", + "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy' and sys_platform == 'linux'", + "python_full_version == '3.11.*' and sys_platform == 'linux'", + "python_full_version < '3.11' and sys_platform == 'linux'", + "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy' and sys_platform != 'linux'", + "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy' and sys_platform != 'linux'", + "python_full_version == '3.11.*' and sys_platform != 'linux'", + "python_full_version < '3.11' and sys_platform != 'linux'", +] +dependencies = [ { name = "ml-dtypes", version = "0.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, - { name = "numpy" }, - { name = "onnx" }, - { name = "onnx-ir" }, - { name = "packaging" }, - { name = "typing-extensions" }, + { name = "numpy", marker = "python_full_version < '3.13'" }, + { name = "onnx", version = "1.19.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "onnx-ir", version = "0.1.11", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "packaging", marker = "python_full_version < '3.13'" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/62/24/7583317b1ee93d06a7e9c482a0e264af76dd63de0d24f67dbf47467d4bf0/onnxscript-0.3.1.tar.gz", hash = "sha256:8f18d2e7119743187579e21bc7d031b5666b56b7e31fcba9a14491f088ead68e", size = 571946, upload-time = "2025-06-26T19:44:17.849Z" } +sdist = { url = "https://files.pythonhosted.org/packages/12/62/287d1c8aec5e896d1220ff529460f390ed5f10e48a0ec0eb3e8978574001/onnxscript-0.5.5.dev20251019.tar.gz", hash = "sha256:e8565f58f12b07e5fc0caf6ad3a6593fdc134d668189a996eb8e2d0ad50a259d", size = 585551, upload-time = "2025-10-19T07:15:06.993Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/6e/7b/08b48677f4c15beac66c97e84db90fc9fb15cbd297cc1c66564d2c54561d/onnxscript-0.3.1-py3-none-any.whl", hash = "sha256:8ca3069d13487332fa7e93ae544e361e6cf133f6a381a2237e17698c3346d541", size = 661045, upload-time = "2025-06-26T19:44:20.413Z" }, + { url = "https://files.pythonhosted.org/packages/08/2a/e772e8d5197501b5f7d7b756738b4090458875868ecedb929963c9132dd4/onnxscript-0.5.5.dev20251019-py3-none-any.whl", hash = "sha256:e259d92434dde2125a47c62623b99781d1644819617f8127239c6c069e401fea", size = 681267, upload-time = "2025-10-19T07:15:09.408Z" }, ] [[package]] @@ -5132,7 +5267,7 @@ name = "sympy" version = "1.14.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "mpmath" }, + { name = "mpmath", marker = "sys_platform != 'linux'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921, upload-time = "2025-04-27T18:05:01.611Z" } wheels = [ @@ -5418,15 +5553,15 @@ name = "torch" version = "2.9.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "filelock" }, - { name = "fsspec" }, - { name = "jinja2" }, - { name = "networkx", version = "3.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "networkx", version = "3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, - { name = "setuptools", marker = "python_full_version >= '3.12'" }, - { name = "sympy" }, + { name = "filelock", marker = "sys_platform != 'linux'" }, + { name = "fsspec", marker = "sys_platform != 'linux'" }, + { name = "jinja2", marker = "sys_platform != 'linux'" }, + { name = "networkx", version = "3.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11' and sys_platform != 'linux'" }, + { name = "networkx", version = "3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11' and sys_platform != 'linux'" }, + { name = "setuptools", marker = "python_full_version >= '3.12' and sys_platform != 'linux'" }, + { name = "sympy", marker = "sys_platform != 'linux'" }, { name = "triton", marker = "sys_platform == 'never'" }, - { name = "typing-extensions" }, + { name = "typing-extensions", marker = "sys_platform != 'linux'" }, ] [[package]] @@ -5487,45 +5622,19 @@ wheels = [ [[package]] name = "transformer-engine" -version = "2.7.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "transformer-engine-cu12" }, -] -wheels = [ - { url = "https://files.pythonhosted.org/packages/dd/7a/4d97df64d87d0ba3af8ce3f8fa8661493058efe20fa6012059a9793f25e9/transformer_engine-2.7.0-py3-none-any.whl", hash = "sha256:99f6c61df25fc36db1b62d45a2502662ed6d3560d9657f39827af3911b6bb3b7", size = 582666, upload-time = "2025-09-26T03:40:42.936Z" }, -] - -[package.optional-dependencies] -pytorch = [ - { name = "transformer-engine-torch" }, -] - -[[package]] -name = "transformer-engine-cu12" -version = "2.7.0" -source = { registry = "https://pypi.org/simple" } +version = "2.9.0+8b9849a2" +source = { git = "https://github.com/NVIDIA/TransformerEngine.git?rev=release_v2.9#8b9849a226c37601cf2826108e02df6db041f23a" } dependencies = [ + { name = "einops" }, { name = "importlib-metadata" }, + { name = "onnx", version = "1.19.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, + { name = "onnx", version = "1.19.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, + { name = "onnxscript", version = "0.5.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, + { name = "onnxscript", version = "0.5.5.dev20251019", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" }, { name = "packaging" }, { name = "pydantic" }, -] -wheels = [ - { url = "https://files.pythonhosted.org/packages/14/08/679185ce7b97aa1771ae874efcce95102bffcce28881638e872eb4410a0c/transformer_engine_cu12-2.7.0-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:32ac626081d8f43177956bfd6acabddc8d0535af9364b3518dc9b59b676b530e", size = 316959191, upload-time = "2025-09-26T03:42:09.374Z" }, - { url = "https://files.pythonhosted.org/packages/51/6a/1242ad9b3779c73f70abf19bb34d287dd622c198833de39568b3fb34cd0b/transformer_engine_cu12-2.7.0-py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:66a7355d7534869899b2508b605879fc49f34f74ec0acc4219b3d5fd6449c124", size = 317283039, upload-time = "2025-09-26T03:37:21.555Z" }, -] - -[[package]] -name = "transformer-engine-torch" -version = "2.7.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "einops" }, - { name = "onnx" }, - { name = "onnxscript" }, { name = "torch", marker = "sys_platform == 'never'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/8b/d4/9eee944ee198f389981257f617ac3967c9ad893dad93155509da4577f202/transformer_engine_torch-2.7.0.tar.gz", hash = "sha256:ca4d83592ea3939868e9a9c046edba08f44c10bf6f9f252b1c0ec3dbab9edbaf", size = 175008, upload-time = "2025-09-26T03:32:34.066Z" } [[package]] name = "transformers"