Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record the model_variant in t2i and clip_vision configs #5989

Merged
merged 3 commits into from
Mar 19, 2024

Commits on Mar 19, 2024

  1. record model_variant in t2i and clip_vision configs

    - Move base of t2i and clip_vision config models to DiffusersBase, which contains
      a field to record the model variant (e.g. "fp16")
    - This restore the ability to load fp16 t2i and clip_vision models
    - Also add defensive coding to load the vanilla model when the fp16 model
      has been replaced (or more likely, user's preferences changed since installation)
    Lincoln Stein committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    6cea5e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8afb96b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ff0275 View commit details
    Browse the repository at this point in the history