Skip to content

Conversation

@clefourrier
Copy link
Member

No description provided.

if int(config.data_parallel_size) > 1:
self.model_args["distributed_executor_backend"] = "ray"
self._batch_size = "auto"
return None
Copy link
Member Author

Choose a reason for hiding this comment

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

We return before creating the model :/

@clefourrier clefourrier requested a review from NathanHB March 26, 2025 13:48
@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.

NathanHB
NathanHB previously approved these changes Apr 2, 2025
@NathanHB NathanHB dismissed their stale review April 2, 2025 09:16

Error

Copy link
Member

@NathanHB NathanHB left a comment

Choose a reason for hiding this comment

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

This is normal, when using Ray the models are initialized during the generation, see here

@clefourrier
Copy link
Member Author

Hm interesting - it failed later on as the model was empty, I'll relaunch and share the trace

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.

4 participants