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

reactivated the old hashing that work for civitai #1647

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

trunksn1
Copy link

@trunksn1 trunksn1 commented Sep 1, 2024

This pull request reactivates existing code in _hashes.py that was previously commented out or disabled.

Issue

The current hashing function does not correctly identify resources on Civitai. As a result, checkpoints (both Stable Diffusion and Flux) and Loras (only Stable Diffusion) are not recognized.

Fix:

By reactivating the original hashing function, the recognition of these resources is restored:

  1. Flux Checkpoints: Now recognized correctly.

  2. Stable Diffusion Models: Both checkpoints and Loras are correctly recognized.

Impact

Before the Fix:
Using the current fake hashing function, no resources are recognized.
fake_hash

After the Fix:

  1. The Flux checkpoint is recognized, though Loras for Flux models are still not recognized.

good old hash

  1. For Stable Diffusion models, both checkpoints and Loras are correctly recognized.
    pony

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant