Fix Compatibility Issue with 'accelerate' Package by Reverting to Version 0.24.1 #73
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the PR:
This PR addresses an issue related to file extension handling in newer versions of the 'accelerate' package.
Related Issue:
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.