Skip to content

Commit

Permalink
Bump the torch group in /requirements with 2 updates (#1050)
Browse files Browse the repository at this point in the history
* Bump the torch group in /requirements with 2 updates

Bumps the torch group in /requirements with 2 updates: [torch](https://github.com/pytorch/pytorch) and [torchvision](https://github.com/pytorch/vision).


Updates `torch` from 2.5.1 to 2.6.0
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.5.1...v2.6.0)

Updates `torchvision` from 0.20.1 to 0.21.0
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](pytorch/vision@v0.20.1...v0.21.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: torch
- dependency-name: torchvision
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: torch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix dpn exportable flag

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
  • Loading branch information
dependabot[bot] and qubvel authored Jan 30, 2025
1 parent 51df890 commit 6c7eb25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions requirements/required.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ pretrainedmodels==0.7.4
safetensors==0.5.2
six==1.17.0
timm==1.0.14
torch==2.5.1
torchvision==0.20.1
torch==2.6.0
torchvision==0.21.0
tqdm==4.67.1
2 changes: 1 addition & 1 deletion segmentation_models_pytorch/encoders/dpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

class DPNEncoder(DPN, EncoderMixin):
_is_torch_scriptable = False
_is_torch_exportable = False
_is_torch_exportable = True # since torch 2.6.0

def __init__(
self,
Expand Down

0 comments on commit 6c7eb25

Please sign in to comment.