Run this model with HF Jobs
Run svntax-dev/pixel_portrait_lora_v1-lora 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/svntax-dev/pixel_portrait_lora_v1-lora. 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/svntax-dev/pixel_portrait_lora_v1-lora 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 svntax-dev/pixel_portrait_lora_v1-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use svntax-dev/pixel_portrait_lora_v1-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("svntax-dev/pixel_portrait_lora_v1-lora") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload README.md with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445---tags:- text-to-image- lora- diffusers- template:sd-lora- ai-toolkitbase_model: Qwen/Qwen-Imagelicense: creativeml-openrail-minference: parameters: width: 512 height: 512---
# pixel_portrait_lora_v1-lora
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
## Trigger words
No trigger words defined.
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
Weights for this model are available in Safetensors format.
[Download](svntax-dev/pixel_portrait_lora_v1-lora/tree/main) them in the Files & versions tab.
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
```pyfrom diffusers import AutoPipelineForText2Imageimport torch
pipeline = AutoPipelineForText2Image.from_pretrained('Qwen/Qwen-Image', torch_dtype=torch.bfloat16).to('cuda')pipeline.load_lora_weights('svntax-dev/pixel_portrait_lora_v1-lora', weight_name='pixel_portrait_lora_v1_000001500.safetensors')image = pipeline('a beautiful landscape').images[0]image.save("my_image.png")```
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
README.mdAdded+45