Skip to content

stage_1_and_2: optimize clip calculation to use clamp - #5632

Merged
tjruwase merged 1 commit into
deepspeedai:masterfrom
nelyahu:stage_1_and_2_optimize_clip
Jun 10, 2024
Merged

tjruwase merged 1 commit into
deepspeedai:masterfrom
nelyahu:stage_1_and_2_optimize_clip

Conversation

@nelyahu

@nelyahu nelyahu commented Jun 9, 2024

Copy link
Copy Markdown
Contributor

instead of "if" that causes host/device synchronization and introduces a bubble, while clamp is hapenning on the device

instead of "if" that causes host/device synchronization
and introduces a bubble, while clamp is hapenning on the device
@tjruwase
tjruwase added this pull request to the merge queue Jun 10, 2024
Merged via the queue into deepspeedai:master with commit 1ef9b02 Jun 10, 2024
sfc-gh-reyazda pushed a commit to Snowflake-Labs/DeepSpeed that referenced this pull request Jun 10, 2024
instead of "if" that causes host/device synchronization and introduces a
bubble, while clamp is hapenning on the device
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.

2 participants