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: leejet/stable-diffusion.cpp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: imchatbot/stable-diffusion.cpp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 12 commits
  • 16 files changed
  • 2 contributors

Commits on May 22, 2025

  1. feat: add Chroma module and integrate T5 embeddings

    - Introduced `chroma.hpp` with attention and modulation functions.
    - Updated `CMakeLists.txt` to include Chroma tests.
    - Enhanced `model.h` to support a new SD version for Chroma.
    - Modified `stable-diffusion.cpp` to integrate T5 embeddings for Chroma, including padding mask generation.
    - Adjusted condition retrieval logic to accommodate Chroma's unique requirements.
    1halfplusminus committed May 22, 2025
    Configuration menu
    Copy the full SHA
    ef4c3bd View commit details
    Browse the repository at this point in the history

Commits on May 23, 2025

  1. Implement Chroma model integration and testing framework

    - Added step-by-step implementation plan for integrating the Chroma model into diffusion.cpp, focusing on layer-by-layer testing.
    - Created CMakeLists.txt and Makefile for the new chroma_test example.
    - Implemented main.cpp for testing VAE and T5 model loading and functionality via the Stable Diffusion API.
    - Enhanced ModelLoader to support Chroma model weight loading and added debug logging for GGUF tensors.
    - Updated stable-diffusion.cpp to integrate Chroma model handling, including condition handling and model-specific adjustments.
    - Modified T5 and VAE classes to accommodate Chroma-specific configurations and parameters.
    1halfplusminus committed May 23, 2025
    Configuration menu
    Copy the full SHA
    984b399 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32a4cfb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee17ccb View commit details
    Browse the repository at this point in the history

Commits on May 24, 2025

  1. Refactor T5 model handling and attention mask integration

    - Updated SD3CLIPEmbedder and FluxCLIPEmbedder to pass NULL for attention masks during T5 computation.
    - Enhanced ChromaT5Embedder to generate and utilize a padding mask for T5 embeddings.
    - Modified T5Stack and T5 classes to handle optional attention masks, allowing for NULL values.
    - Adjusted T5Runner to make attention masks optional in the build_graph and compute methods.
    - Added a new linear layer test example with comprehensive tensor operations and validation.
    - Removed obsolete Makefile for chroma_test example.
    - Updated main.cpp in chroma_test to reflect new model paths and configurations.
    1halfplusminus committed May 24, 2025
    Configuration menu
    Copy the full SHA
    1b61764 View commit details
    Browse the repository at this point in the history
  2. Refactor attention mask handling in T5 model

    - Improved handling of attention_mask_01 to support various shapes and dimensions.
    - Added checks for reshaping and permuting the attention mask based on input tensor dimensions.
    - Enhanced logging for shape mismatches to aid debugging.
    - Updated tensor reshaping logic to ensure compatibility with attention score broadcasting.
    - Introduced model_dim as a member variable in the T5 class for better clarity and usage.
    - Refined input tensor permutation logic to accommodate different embedding output shapes.
    1halfplusminus committed May 24, 2025
    Configuration menu
    Copy the full SHA
    d518e53 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2025

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

Commits on May 26, 2025

  1. feat: temp

    1halfplusminus committed May 26, 2025
    Configuration menu
    Copy the full SHA
    2eea43c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d732d21 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2025

  1. feat: last

    John Doe committed May 29, 2025
    Configuration menu
    Copy the full SHA
    7b54d4e View commit details
    Browse the repository at this point in the history
  2. feat: last

    John Doe committed May 29, 2025
    Configuration menu
    Copy the full SHA
    37c6f48 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2025

  1. feat: last

    John Doe committed May 30, 2025
    Configuration menu
    Copy the full SHA
    c1d12c3 View commit details
    Browse the repository at this point in the history
Loading