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
File size: 1,741 Bytes
6735009 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | {
"_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
}
|