Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Update deprecated TorchVision and PyTorch APIs #3074

Merged
merged 4 commits into from
Apr 4, 2024

Conversation

kit1980
Copy link
Contributor

@kit1980 kit1980 commented Apr 4, 2024

Description

  1. For TorchVision models, pretrained parameters have been deprecated in favor of "Multi-weight support API" - see https://pytorch.org/vision/0.15/models.html
  2. torch.qr updated to torch.linalg.qr

Found with https://github.com/pytorch-labs/torchfix/

Also applied pre-commit to pass linter.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Feature/Issue validation/testing

This should be a no-op.

@kit1980 kit1980 marked this pull request as ready for review April 4, 2024 00:35
@msaroufim msaroufim self-requested a review April 4, 2024 19:42
Copy link
Member

@msaroufim msaroufim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@msaroufim msaroufim added this pull request to the merge queue Apr 4, 2024
Merged via the queue into master with commit 4f90708 Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants