[Core] be more specific when doing accelerate imports.
What does this PR do?
By being more specific on the imports, we can cut down the overall import time in our library.
Follow this thread: https://huggingface.slack.com/archives/C021H1P1HKR/p1719924173632779.
We should try to identify more such opportunities.
@muellerzr just making sure that all of your findings are from accelerate main right?
@sayakpaul yep!
So if you want to support older versions/worry about that, definitely feel free to do so. :)
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
IMO it's better to rely on a stable version of accelerate rather than relying on the main branch.
Agreed, main won't be main for long (literally this week) so up to you!
@muellerzr so sounds like we won't need this once the new version is released?
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.