Skip to content

Conversation

@depthfirst-dev
Copy link

Overview

build(deps): Upgrade torch to 2.8.0 and starlette to 0.47.2

Upgrade

This pull request upgrades the transitive dependencies torch to version 2.8.0 and starlette to 0.47.2. These upgrades are necessary to address the security vulnerabilities detailed below.

Changes

  • Upgraded torch to 2.8.0:
    • The PyTorch source configuration in pyproject.toml has been modified. The pytorch-cuda-128 index was removed as it does not host torch==2.8.0, and the configuration for Linux now defaults to the standard PyPI index, which provides torch with CUDA support.
    • A new index for pytorch-cuda-121 has been added for CUDA 12.1 environments.
  • Upgraded starlette to 0.47.2:
    • To force the upgrade of the transitive dependency starlette, explicit version constraints have been added for fastapi>=0.120.0 and gradio>=5.49.1 in pyproject.toml.
  • Updated uv.lock:
    • The lockfile has been regenerated to reflect the new dependency tree and versions.

Warnings

  • PyTorch 2.8: This is a minor version upgrade. While no test failures were encountered, PyTorch 2.8 introduces new features, performance improvements, and some deprecations. Reviewers should be aware of the changes, which are detailed in the official PyTorch 2.8 release notes.

Vulnerabilities Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants