Skip to content

Conversation

@stevhliu
Copy link
Member

Improves device_map docs with more explicit example of how to design your own.

@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.

@stevhliu stevhliu requested a review from sayakpaul June 13, 2025 21:19
Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

LTGM! Thanks so much. @Birch-san WDYT?

@stevhliu stevhliu marked this pull request as ready for review June 16, 2025 18:47
@stevhliu
Copy link
Member Author

Merging now and we can iterate on it later if we need to :)

@stevhliu stevhliu merged commit 6184d8a into huggingface:main Jun 20, 2025
1 check passed
@stevhliu stevhliu deleted the device_map branch June 20, 2025 17:14
@Birch-san
Copy link
Contributor

thanks, I still don't understand why the key '' works though. is there some kind of pattern-matching? I thought there was some convention where it does a prefix match or something…

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