Skip to content

Conversation

kashif
Copy link
Collaborator

@kashif kashif commented Oct 2, 2025

What does this PR do?

Fix a crash when we have Empty prompt after truncation due to conservative configs. Else we get a off-by-1 error
also prepeare the ref_model properly

@kashif kashif requested a review from albertvillanova October 2, 2025 08:18
@kashif kashif added the 🐛 bug Something isn't working label Oct 2, 2025
@HuggingFaceDocBuilderDev

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.

kashif added 2 commits October 2, 2025 11:32
Updated reference model preparation for FSDP and device placement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants