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
| { | |
| "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 | |
| } | |