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

Many bug fixes for v1.1.0 #335

Merged
merged 12 commits into from
Oct 26, 2023
Merged

Many bug fixes for v1.1.0 #335

merged 12 commits into from
Oct 26, 2023

Conversation

adefossez
Copy link
Contributor

This introduces quite a few bug fixes and some non backward compatible changes. From the changelog:

Fixed DAC support with non default number of codebooks.

Fixed bug when two_step_cfg was overriden when calling generate().

Fixed samples being always prompted with audio, rather than having both prompted and unprompted.

Backward incompatible change: A torch.no_grad around the computation of the conditioning made its way in the public release. The released models were trained without this. Those impact linear layers applied to the output of the T5 or melody conditioners. We removed it, so you might need to retrain models.

Backward incompatible change: Fixing wrong sample rate in CLAP (WARNING if you trained model with CLAP before).

Backward incompatible change: Renamed VALLEPattern to CoarseFirstPattern, as it was wrongly named. Probably no one retrained a model with this pattern, so hopefully this won't impact you!

@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 Oct 26, 2023
@adefossez adefossez requested a review from JadeCopet October 26, 2023 15:27
Copy link
Contributor

@JadeCopet JadeCopet left a comment

Choose a reason for hiding this comment

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

Thanks!

@adefossez adefossez merged commit f73b7ae into main Oct 26, 2023
3 checks passed
Dinglet pushed a commit to Dinglet/audiocraft that referenced this pull request Jul 30, 2024
* wip

* fix bug in sample storage

* fix bug in fsdp with pytorch 2.0.1

* fix kld

* revert back passt change

* fix n_quantizers

* changes

* adding warning

* extra warnings and tests

* missing changelog

* missing changes between audiogen and musicgen
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.

3 participants