Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: huggingface/diffusers
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: calebcase/diffusers
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 30, 2025

  1. qwenimage: fix torch compile(fullgraph=True, mode='max-autotune') errors

    The qwenimage pipeline is updated to address the following error by cloning
    those tensors before use.
    
    ```
    Traceback (most recent call last):
      File "/root/qwen/main.py", line 31, in <module>
        output = pipeline(**inputs)
                 ^^^^^^^^^^^^^^^^^^
      File "/root/qwen/venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 120, in decorate_context
        return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/root/qwen/venv/lib/python3.12/site-packages/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_plus.py", line 828, in
    __call__
        comb_pred = neg_noise_pred + true_cfg_scale * (noise_pred - neg_noise_pred)
                                                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~
    RuntimeError: Error: accessing tensor output of CUDAGraphs that has been overwritten by a subsequent run. Stack trace: File
    "/root/qwen/venv/lib/python3.12/site-packages/diffusers/models/transformers/transformer_qwenimage.py", line 664, in forward
        output = self.proj_out(hidden_states). To prevent overwriting, clone the tensor outside of torch.compile() or call
    torch.compiler.cudagraph_mark_step_begin() before each model invocation.
    main.py
    from PIL import Image
    ```
    calebcase committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    c7a34ee View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2026

  1. Configuration menu
    Copy the full SHA
    6a1c196 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2026

  1. Configuration menu
    Copy the full SHA
    a8abba2 View commit details
    Browse the repository at this point in the history
Loading