Closed rajveer43 closed 1 month ago
hi @rajveer43
we did a refactor and replaced the rope
method with the get_1d_rotary_pos_embed
see this PR https://github.com/huggingface/diffusers/pull/9074
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Closing due to inactivity.
Describe the bug
I encountered an issue while working with the diffusers library where an
AttributeError
is raised because thetransformer_flux
module does not have anattribute
namedrope
. This problem arises when trying to modify therop
e function to handle CUDA devices.Reproduction
Below is a code snippet that leads to this error:
The rope function should be accessible in the transformer_flux module to allow customization, such as handling CUDA devices or modifying ROPE computations.
Logs
System Info
0.31.0.dev0(diffuser version) 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0](python iversion)
Who can help?
@sayakpaul @DN6