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

how can i know what the model base are #7954

Closed
xalteropsx opened this issue May 15, 2024 · 2 comments
Closed

how can i know what the model base are #7954

xalteropsx opened this issue May 15, 2024 · 2 comments

Comments

@xalteropsx
Copy link

from transformers import DiffusionPipeline

base_model_id = "anything-v3-fp16-pruned.safetensors"

pipeline = DiffusionPipeline.from_pretrained(
base_model_id,
model_dir=model_dir,
use_safetensors=True,
)

@tolgacangoz
Copy link
Contributor

I found anything-v3-fp16-pruned.safetensors in Hugging Face. You can also see the config files of the components:

print(pipeline.config)
print(pipeline.vae.config)

@xalteropsx
Copy link
Author

thnx bro @standardAI

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

No branches or pull requests

2 participants