diffusers
refactor rotary embedding 3: so it is not on cpu
#9307
Merged

refactor rotary embedding 3: so it is not on cpu #9307

sayakpaul merged 2 commits into main from fix-torch-rope
yiyixuxu
yiyixuxu change get_1d_rotary to accept pos as torch tensors
1ff6c42a
HuggingFaceDocBuilderDev
yiyixuxu yiyixuxu changed the title refactor rotary embedding so it is not on cpu refactor rotary embedding 3: so it is not on cpu 1 year ago
yiyixuxu Merge branch 'main' into fix-torch-rope
aa0c11f4
yiyixuxu yiyixuxu requested a review from sayakpaul sayakpaul 1 year ago
sayakpaul
sayakpaul approved these changes on 2024-08-29
yiyixuxu
sayakpaul sayakpaul merged 61d96c3a into main 1 year ago
sayakpaul sayakpaul deleted the fix-torch-rope branch 1 year ago
yiyixuxu
cpuhrsch
cpuhrsch commented on 2024-08-29
sayakpaul
cpuhrsch
cpuhrsch commented on 2024-08-30

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone