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

Changes in TransformerDecoder break arch compat with published models #2664

Closed
munael opened this issue Sep 28, 2020 · 1 comment
Closed

Comments

@munael
Copy link

munael commented Sep 28, 2020

@myleott
Copy link
Contributor

myleott commented Sep 29, 2020

There should be an automatic upgrade path for old checkpoints: https://github.com/pytorch/fairseq/blob/fd080b308e1e3361d6c498b235496080fa6599e5/fairseq/models/transformer.py#L848-L858

Please let us know if this doesn't work! We also have some internal tests that should confirm that all of the released models run, although again please let us know if something doesn't and we can add more tests.

@myleott myleott closed this as completed Sep 29, 2020
facebook-github-bot pushed a commit that referenced this issue Nov 20, 2021
Summary:
Fix a typo

# Before submitting

- [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
- [ ] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/main/CONTRIBUTING.md)?
- [ ] Did you make sure to update the docs?
- [ ] Did you write any new necessary tests?

## What does this PR do?
Fixes # (issue).

## PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

## Did you have fun?
Make sure you had fun coding �

Pull Request resolved: fairinternal/fairseq-py#2664

Reviewed By: alexeib

Differential Revision: D32577174

Pulled By: arbabu123

fbshipit-source-id: 9b65619843fd9684be319024ccc9e6b0681db7de
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

No branches or pull requests

2 participants