1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00

Add # Copied from for shift

This commit is contained in:
Edna
2025-06-12 03:23:09 -06:00
committed by GitHub
parent bedb32087a
commit fe5af79a19

View File

@@ -65,7 +65,7 @@ EXAMPLE_DOC_STRING = """
```
"""
# Copied from diffusers.pipelines.flux.pipeline_flux.calculate_shift
def calculate_shift(
image_seq_len,
base_seq_len: int = 256,