Skip to content

Fix custom generate relative imports#40480

Merged
manueldeprada merged 1 commit intohuggingface:mainfrom
manueldeprada:fix-custom-generate-relative
Sep 1, 2025
Merged

Fix custom generate relative imports#40480
manueldeprada merged 1 commit intohuggingface:mainfrom
manueldeprada:fix-custom-generate-relative

Conversation

@manueldeprada
Copy link
Copy Markdown
Contributor

Same as #38916, but for repos on the hub. This time we dont need to copy anything, as the whole repo is cloned, we just need to handle the paths properly.

This gets tested indirectly with the custom generate tests that will come with group beam search etc.

@manueldeprada manueldeprada requested a review from gante August 27, 2025 09:52
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

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.

Copy link
Copy Markdown
Contributor

@gante gante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@manueldeprada manueldeprada merged commit 90953d5 into huggingface:main Sep 1, 2025
24 checks passed
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.

3 participants