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

Versioning #124

Merged
merged 4 commits into from
Nov 2, 2023
Merged

Versioning #124

merged 4 commits into from
Nov 2, 2023

Conversation

cbalioglu
Copy link
Contributor

This PR revises the version handling of fairseq2. Instead of using the latest stable fairseq2n package, we now use the latest nightly fairseq2n which circumvents a cmake build as long as nightlies are up-to-date with HEAD. The catch is that we should regularly publish nightlies. In particular any changes in fairseq2n that introduces a new feature or a BC-breaking change should be followed by a nightly build/publish.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 2, 2023
@cbalioglu cbalioglu merged commit 1e62734 into main Nov 2, 2023
18 checks passed
@cbalioglu cbalioglu deleted the versioning branch November 2, 2023 17:32
> the fairseq2n installation command above to get the most up-to-date binary. If
> you observe runtime or test failures after the installation, it might be
> because the latest nightlies are not published yet. If the problem persists
> after about 12 hours, please create a GitHub issue.

Choose a reason for hiding this comment

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

Nit but we can add a link to make the issue here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense. Let me put a link tomorrow.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, made the changes along with PyTorch 2.1 updates. Please see the latest version of the doc.

Choose a reason for hiding this comment

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

Thank you!

@@ -81,7 +81,7 @@ brew install libsndfile

### 3.2 PyTorch
Follow the instructions on [pytorch.org](https://pytorch.org) to install the
desired PyTorch version. Note that fairseq2 supports only PyTorch 1.12 or
desired PyTorch version.

Choose a reason for hiding this comment

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

Shouldnt we specify the min version it supports?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am working on PyTorch 2.1 builds right now, and plan to consolidate all version information in README to reduce the maintenance overhead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, put a link here to the supported version list in README (see latest version). Thanks again for the feedback!

Choose a reason for hiding this comment

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

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants