Text-to-Image
Diffusers
NeuronStableDiffusionXLPipeline
stable-diffusion
lora
template:sd-lora
Neuron
Inferentia
Run this model with HF Jobs
Run Shekswess/Canopus-Interior-Architecture-0.1-Neuron on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Shekswess/Canopus-Interior-Architecture-0.1-Neuron. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Shekswess/Canopus-Interior-Architecture-0.1-Neuron on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Shekswess/Canopus-Interior-Architecture-0.1-Neuron with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shekswess/Canopus-Interior-Architecture-0.1-Neuron with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Shekswess/Canopus-Interior-Architecture-0.1-Neuron") prompt = "Interior room of the house with plants, a chair and candles, space to relax, soft lighting, pastel colors, style of ultrafine detail, high quality photo --ar 2:3 --v 5" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download vae_encoder/config.json from Shekswess/Canopus-Interior-Architecture-0.1-Neuron: direct link, hf CLI and curl.
- Browser
- Download file 1.74 kB
-
https://huggingface.co/Shekswess/Canopus-Interior-Architecture-0.1-Neuron/resolve/main/vae_encoder/config.json
- Command line
-
hf download hf://Shekswess/Canopus-Interior-Architecture-0.1-Neuron/vae_encoder/config.json
-
curl -L -o config.json https://huggingface.co/Shekswess/Canopus-Interior-Architecture-0.1-Neuron/resolve/main/vae_encoder/config.json
1.74 kB
| { | |
| "_class_name": "AutoencoderKL", | |
| "_commit_hash": null, | |
| "_diffusers_version": "0.30.3", | |
| "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/vae", | |
| "_use_default_values": [ | |
| "mid_block_add_attention", | |
| "use_quant_conv", | |
| "use_post_quant_conv", | |
| "latents_mean", | |
| "latents_std", | |
| "shift_factor" | |
| ], | |
| "act_fn": "silu", | |
| "block_out_channels": [ | |
| 128, | |
| 256, | |
| 512, | |
| 512 | |
| ], | |
| "down_block_types": [ | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D" | |
| ], | |
| "force_upcast": true, | |
| "in_channels": 3, | |
| "latent_channels": 4, | |
| "latents_mean": null, | |
| "latents_std": null, | |
| "layers_per_block": 2, | |
| "mid_block_add_attention": true, | |
| "neuron": { | |
| "auto_cast": "matmul", | |
| "auto_cast_type": "bf16", | |
| "compiler_type": "neuronx-cc", | |
| "compiler_version": "2.15.128.0+56dc5a86", | |
| "dynamic_batch_size": false, | |
| "inline_weights_to_neff": true, | |
| "input_names": [ | |
| "sample" | |
| ], | |
| "model_type": "vae-encoder", | |
| "optlevel": "2", | |
| "output_attentions": false, | |
| "output_hidden_states": false, | |
| "output_names": [ | |
| "latent_sample" | |
| ], | |
| "static_batch_size": 1, | |
| "static_height": 1024, | |
| "static_num_channels": 3, | |
| "static_width": 1024 | |
| }, | |
| "norm_num_groups": 32, | |
| "out_channels": 3, | |
| "sample_size": 1024, | |
| "scaling_factor": 0.13025, | |
| "shift_factor": null, | |
| "task": "semantic-segmentation", | |
| "transformers_version": null, | |
| "up_block_types": [ | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D" | |
| ], | |
| "use_post_quant_conv": true, | |
| "use_quant_conv": true | |
| } | |