Run this model with HF Jobs
Run ShoufaChen/PixelFlow-Text2Image 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/ShoufaChen/PixelFlow-Text2Image. 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/ShoufaChen/PixelFlow-Text2Image 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 ShoufaChen/PixelFlow-Text2Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ShoufaChen/PixelFlow-Text2Image with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ShoufaChen/PixelFlow-Text2Image", 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
Upload folder using huggingface_hub
Browse filesFiles changed (2)
- config.yamlAdded+17
- model.ptAdded+3
1234567891011121314151617model: target: pixelflow.model.PixelFlowModel params: num_attention_heads: 16 attention_head_dim: 72 in_channels: 3 out_channels: 3 depth: 28 num_classes: 0 patch_size: 4 attention_bias: true cross_attention_dim: 2048scheduler: num_train_timesteps: 1000 num_stages: 4 pyramid_shift: falseseed: 42123version https://git-lfs.github.com/spec/v1oid sha256:44a2c61a1e59a2bb8ed4211c0eb52c4ecf5be851676805b08a63d5f5527a2bf6size 3528589624config.yamlAdded+17
model.ptAdded+3