Commit 3335e22
[FIX] Bug in FluxPosEmbed (huggingface#10115)
* Fix get_1d_rotary_pos_embed in embedding.py
* Update embeddings.py
---------
Co-authored-by: hlky <[email protected]>1 parent 65ab105 commit 3335e22
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
962 | | - | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
963 | 968 | | |
964 | 969 | | |
965 | 970 | | |
| |||
0 commit comments