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

Fix Compatibility Issue with 'accelerate' Package by Reverting to Version 0.24.1 #73

Merged
merged 1 commit into from
Dec 29, 2023
Merged

Conversation

HarryHe11
Copy link
Collaborator

@HarryHe11 HarryHe11 commented Dec 29, 2023

Description of the PR:
This PR addresses an issue related to file extension handling in newer versions of the 'accelerate' package.

Related Issue:

  1. VELL-E (model_train_stage 2) error output "No such file pytorch_model.bin" #67
  2. An issue with the preprocessing part of LibriTTS. #31 (comment)

Cause of the Error:
The issue appears to be linked to a change in file extension processing, introduced in recent updates of the 'accelerate' package. Comparing the codebase of different versions of 'accelerate' indicates that changes were made between versions 0.24.1 and 0.25.0.

Reference:
accelerate v0.25.0 - accelerator.py
accelerate v0.24.1 - accelerator.py

Proposed Solution:
To address this compatibility issue, this PR suggests reverting to version 0.24.1 of the 'accelerate' package. This can be achieved by specifying version 0.24.1 in the env.sh script.

specified accelerate version
@HarryHe11 HarryHe11 changed the title Debug for issue Fix Compatibility Issue with 'accelerate' Package by Reverting to Version 0.24.1 Dec 29, 2023
@lmxue lmxue merged commit d34eaa3 into open-mmlab:main Dec 29, 2023
1 check passed
@HarryHe11 HarryHe11 deleted the new_env branch December 30, 2023 08:19
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.

None yet

2 participants