Skip to content

Commit 6c7eb25

Browse files
Bump the torch group in /requirements with 2 updates (#1050)
* 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] <[email protected]> * Fix dpn exportable flag --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pavel Iakubovskii <[email protected]>
1 parent 51df890 commit 6c7eb25

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

requirements/required.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ pretrainedmodels==0.7.4
55
safetensors==0.5.2
66
six==1.17.0
77
timm==1.0.14
8-
torch==2.5.1
9-
torchvision==0.20.1
8+
torch==2.6.0
9+
torchvision==0.21.0
1010
tqdm==4.67.1

segmentation_models_pytorch/encoders/dpn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
class DPNEncoder(DPN, EncoderMixin):
3636
_is_torch_scriptable = False
37-
_is_torch_exportable = False
37+
_is_torch_exportable = True # since torch 2.6.0
3838

3939
def __init__(
4040
self,

0 commit comments

Comments
 (0)