Skip to content

[WIP] Fix nanotron compatibility #706

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

duynht
Copy link

@duynht duynht commented May 6, 2025

Changes from #635 + #656 + more

@duynht duynht changed the title [WIP] Fix nanotron compatability [WIP] Fix nanotron compatibility May 6, 2025
@Stillerman Stillerman mentioned this pull request May 7, 2025
@NathanHB
Copy link
Member

hey ! don't hesitate to ping when ready, I will merge asap :)

@HuggingFaceDocBuilderDev
Copy link
Collaborator

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.

@duynht
Copy link
Author

duynht commented May 20, 2025

Hi @NathanHB,
I think I've finished the patch for nanotron@v0.5. It is still outdated with their main branch (which still has a lot of issues anw). Also,

  • Added nanotron and its deps to the dev env. Note that flash-attn>=2.7.0 has breaking changes to nanotron, so I excluded those in pyproject.toml.
  • Added a slow test for nanotron. You might wanna fix the current model cache for CI

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.

5 participants