Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nn.Identity is not required to be compatible with PyTorch < 1.1.0 as the minimum PyTorch version we currently support is 1.10.0 #25974

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

statelesshz
Copy link
Contributor

What does this PR do?

As the title says.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@muellerz and @pacman100

@ydshieh
Copy link
Collaborator

ydshieh commented Sep 5, 2023

I am not sure I understand. We already say goodbye to pytorch 1.9 in #24080. Could you elaborate with a bit more detail?

minimum PyTorch version we currently support is 1.10.0
@statelesshz statelesshz changed the title nn.Identity is not required to be compatible with PyTorch < 1.1.0 as the minimum PyTorch version we currently support is 1.9.0 nn.Identity is not required to be compatible with PyTorch < 1.1.0 as the minimum PyTorch version we currently support is 1.10.0 Sep 5, 2023
@statelesshz
Copy link
Contributor Author

I am not sure I understand. We already say goodbye to pytorch 1.9 in #24080. Could you elaborate with a bit more detail?

Apologies for the confusion. I provided incorrect information about the minimum supported version of transformers. :(
Make some changes to make things look more accurate.

Copy link
Collaborator

@ydshieh ydshieh left a comment

Choose a reason for hiding this comment

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

Looks like torch.nn.Identity is available in torch>=1.1.0 (released on May 1, 2019).

Thank you!

@ydshieh ydshieh requested a review from amyeroberts September 5, 2023 08:10
Copy link
Collaborator

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

Thanks for updating!

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@ydshieh ydshieh merged commit 1cc3bc2 into huggingface:main Sep 5, 2023
3 checks passed
@statelesshz statelesshz deleted the remove_dead_code branch September 13, 2023 14:55
parambharat pushed a commit to parambharat/transformers that referenced this pull request Sep 26, 2023
…the minimum PyTorch version we currently support is 1.10.0 (huggingface#25974)

nn.Identity is not required to be compatible with PyTorch < 1.1.0 as the
minimum PyTorch version we currently support is 1.10.0
blbadger pushed a commit to blbadger/transformers that referenced this pull request Nov 8, 2023
…the minimum PyTorch version we currently support is 1.10.0 (huggingface#25974)

nn.Identity is not required to be compatible with PyTorch < 1.1.0 as the
minimum PyTorch version we currently support is 1.10.0
EduardoPach pushed a commit to EduardoPach/transformers that referenced this pull request Nov 18, 2023
…the minimum PyTorch version we currently support is 1.10.0 (huggingface#25974)

nn.Identity is not required to be compatible with PyTorch < 1.1.0 as the
minimum PyTorch version we currently support is 1.10.0
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.

4 participants