Instructions to use Yuanshi/LinFusion-1-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Yuanshi/LinFusion-1-5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Yuanshi/LinFusion-1-5", 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
- Draw Things
- DiffusionBee
Improve model card
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
| 1 |
---
|
| 2 |
library_name: diffusers
|
| 3 |
-
|
| 4 |
-
- pytorch_model_hub_mixin
|
| 5 |
-
- model_hub_mixin
|
| 6 |
---
|
| 7 |
|
| 8 |
-
This model has been pushed to the Hub using
|
| 9 |
-
- Repo:
|
| 10 |
-
-
|
| 11 |
|
| 12 |
* **Basic Usage of LinFusion:**
|
| 13 |
```python
|
|
|
|
| 1 |
---
|
| 2 |
library_name: diffusers
|
| 3 |
+
pipeline_tag: text-to-image
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
+
This model has been pushed to the Hub using the Diffusers library:
|
| 7 |
+
- Repo: https://github.com/Huage001/LinFusion
|
| 8 |
+
- Paper: https://huggingface.co/papers/2409.02097
|
| 9 |
|
| 10 |
* **Basic Usage of LinFusion:**
|
| 11 |
```python
|