Skip to content

Conversation

@a-r-r-o-w
Copy link
Contributor

Should fix: https://huggingface.slack.com/archives/C03UQJENJTV/p1752491900178599

When this change was added, I was under the impression that the synchronization must be used when using non_blocking data transfer. This is true if the non_blocking device transfer was async in respect to other cuda ops (i.e. if we were using a non-default stream for data transfer). It is not the case here, so it seems like we don't need a sync.

@a-r-r-o-w a-r-r-o-w requested a review from DN6 July 15, 2025 06:52
@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.

@a-r-r-o-w a-r-r-o-w merged commit b73c738 into main Jul 15, 2025
32 checks passed
@a-r-r-o-w a-r-r-o-w deleted the fix-remove-sync-devicemap branch July 15, 2025 16:11
tolgacangoz pushed a commit to tolgacangoz/diffusers that referenced this pull request Jul 17, 2025
tolgacangoz pushed a commit to tolgacangoz/diffusers that referenced this pull request Jul 18, 2025
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