Skip to content

tests: flux variant probe testing #7864

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

psychedelicious
Copy link
Collaborator

Summary

There's a problem with CI - perhaps related to the GH CI runner for macOS being x86-64 instead of Apple Silicon. Haven't investigated deeply yet, but I cannot reproduce the issue locally on my M1 Pro MacBook.

The commits in this PR were split off from #7862 so we could get the user-facing bugfix released.

Related Issues / Discussions

n/a

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added python PRs that change python files backend PRs that change backend files python-tests PRs that change python tests labels Mar 31, 2025
`gguf_sd_loader()` has multiple references in the codebase. It is imported before monkeypatching, so we need to monkeypatch another reference to it. This fixes tests for `ModelOnDisk.load_state_dict()`.
Stripped models for:
- FLUX Dev.safetensors
- FLUX Schnell.safetensors
- FLUX Fill.safetensors
- FLUX Dev (Quantized).safetensors
- FLUX Schnell (Quantized).safetensors
- flux1-fill-dev-Q8_0.gguf
- midjourneyReplica_flux1Dev.safetensors
The new util in de9f541 alters import order, breaking some model probe tests. We need to patch more references to `gguf_sd_loader()` to fix em
@psychedelicious psychedelicious force-pushed the psyche/tests/flux-variant-probe-testing branch from 410775a to 6aa981d Compare April 18, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files python PRs that change python files python-tests PRs that change python tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant