Instructions to use bchao1/foveated-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use bchao1/foveated-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("bchao1/foveated-diffusion") 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
Add GitHub code link
Browse files
README.md
CHANGED
|
@@ -15,6 +15,7 @@ LoRA weights for [**Foveated Diffusion: Efficient Spatially Adaptive Image and V
|
|
| 15 |
|
| 16 |
- Project page: https://bchao1.github.io/foveated-diffusion/
|
| 17 |
- Paper: https://arxiv.org/abs/2603.23491
|
|
|
|
| 18 |
|
| 19 |
## Repository structure
|
| 20 |
|
|
|
|
| 15 |
|
| 16 |
- Project page: https://bchao1.github.io/foveated-diffusion/
|
| 17 |
- Paper: https://arxiv.org/abs/2603.23491
|
| 18 |
+
- Code: https://github.com/bchao1/foveated_diffusion
|
| 19 |
|
| 20 |
## Repository structure
|
| 21 |
|