Text-to-Image
Diffusers
Safetensors
English
fwkv_vision
fwkv
fwkv-vision
rectified-flow
diffusion-transformer
dit
custom-architecture
linear-transformer
Instructions to use FWKV/FWKV-Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FWKV/FWKV-Image with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FWKV/FWKV-Image", torch_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
File size: 617 Bytes
dc76781 | 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 | {
"accum_steps": 1,
"architectures": [
"FWKVVisionModel"
],
"batch_size": 32,
"clip_id": "openai/clip-vit-base-patch32",
"data_source": "t2i2m",
"depth": 12,
"dtype": "float32",
"epochs": 5,
"ffn_mult": 4,
"image_size": 256,
"latent_cache_path": "fwkv_vision_latent_cache.pt",
"latent_ch": 4,
"latent_size": 32,
"lr": 0.0001,
"model_type": "fwkv_vision",
"n_examples": 100000,
"n_heads": 6,
"patch": 2,
"save_dir": "fwkv_vision_ckpt",
"text_dim": 512,
"transformers_version": "5.0.0",
"vae_id": "stabilityai/sd-vae-ft-mse",
"vae_scaling": 0.18215,
"width": 384
}
|