Instructions to use justarty/masha-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use justarty/masha-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("justarty/masha-v2", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Update README.md
cede5cf -
Update vae/config.json
889e7de -
Update tokenizer/tokenizer_config.json
8afbad7 -
Update scheduler/scheduler_config.json
afc8cc7 -
Update feature_extractor/preprocessor_config.json
c99748a -
Update safety_checker/config.json
e73a2a6 -
Update text_encoder/config.json
b8034e7 -
Update unet/config.json
9bf8d50 -
Update model_index.json
f053b7b -
Update model_index.json
b47eafd -
Update README.md
ff57bd7 -
Upload 17 files
e463e3c
-
Rename model_iondex.jsom to model_index.json
8e15f18 -
Create model_iondex.jsom
{ "_class_name": "StableDiffusionPipeline", "_diffusers_version": "0.12.0.dev0", "feature_extractor": [ "transformers", "CLIPFeatureExtractor" ], "requires_safety_checker": true, "safety_checker": [ "stable_diffusion", "StableDiffusionSafetyChecker" ], "scheduler": [ "diffusers", "PNDMScheduler" ], "text_encoder": [ "transformers", "CLIPTextModel" ], "tokenizer": [ "transformers", "CLIPTokenizer" ], "unet": [ "diffusers", "UNet2DConditionModel" ], "vae": [ "diffusers", "AutoencoderKL" ] }3c18a31 -
Upload masha-v2_4040.ckpt
9b4772f -
initial commit
4889444