Instructions to use mhnakif/comfy2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mhnakif/comfy2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mhnakif/comfy2", 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
Upload folder using huggingface_hub
Browse files- .gitattributes +7 -0
- models/FlashVSR/.gitattributes +35 -0
- models/FlashVSR/FlashVSR1_1.safetensors +3 -0
- models/FlashVSR/LQ_proj_in.safetensors +3 -0
- models/FlashVSR/Prompt.safetensors +3 -0
- models/FlashVSR/README.md +60 -0
- models/FlashVSR/TCDecoder.safetensors +3 -0
- models/FlashVSR/Wan2.1_VAE.safetensors +3 -0
- models/FlashVSR/Wan2_1-T2V-1_3B_FlashVSR_fp32.safetensors +3 -0
- models/FlashVSR/Wan2_1_FlashVSR_LQ_proj_model_bf16.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -142,3 +142,10 @@ models/unet/zit_beyond_reality.safetensors filter=lfs diff=lfs merge=lfs -text
|
|
| 142 |
models/vae/ae.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 143 |
models/vae/flux2-vae.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 144 |
models/vae/wan_2.1_vae.safetensors filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
models/vae/ae.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 143 |
models/vae/flux2-vae.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 144 |
models/vae/wan_2.1_vae.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 145 |
+
models/FlashVSR/FlashVSR1_1.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 146 |
+
models/FlashVSR/LQ_proj_in.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 147 |
+
models/FlashVSR/Prompt.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 148 |
+
models/FlashVSR/TCDecoder.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 149 |
+
models/FlashVSR/Wan2.1_VAE.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 150 |
+
models/FlashVSR/Wan2_1-T2V-1_3B_FlashVSR_fp32.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 151 |
+
models/FlashVSR/Wan2_1_FlashVSR_LQ_proj_model_bf16.safetensors filter=lfs diff=lfs merge=lfs -text
|
models/FlashVSR/.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
models/FlashVSR/FlashVSR1_1.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd28180edcf3446c028e32fc6b731a80bf7e4da2ab4caac3186b9499964d37be
|
| 3 |
+
size 5676070392
|
models/FlashVSR/LQ_proj_in.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6b98d11ff78202d88bdb06bd9fc3b6e5c76dde18ac9a59922c16e194807b998
|
| 3 |
+
size 575692496
|
models/FlashVSR/Prompt.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:306b35796ddd406a635da753a815ee9a7d5a84fcd211974018329fe82df5bdb9
|
| 3 |
+
size 4194392
|
models/FlashVSR/README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
## π§ FlashVSR (ComfyUI Integration Model)
|
| 6 |
+
|
| 7 |
+
This repository hosts the **FlashVSR model weights** used in the [ComfyUI-FlashVSR](https://github.com/1038lab/ComfyUI-FlashVSR) project.
|
| 8 |
+
It provides fast and efficient **video super-resolution** powered by **FlashAttention-based architectures**.
|
| 9 |
+
|
| 10 |
+
### π¦ Model Overview
|
| 11 |
+
|
| 12 |
+
**FlashVSR** (Flash Video Super-Resolution) is a high-performance video SR model that leverages efficient attention computation to upscale low-resolution videos while maintaining temporal consistency.
|
| 13 |
+
|
| 14 |
+
This version is provided for **ComfyUI integration**, optimized for direct use with the [ComfyUI-FlashVSR extension](https://github.com/1038lab/ComfyUI-FlashVSR).
|
| 15 |
+
|
| 16 |
+
### π§© Model Files
|
| 17 |
+
|
| 18 |
+
| File | Description | Size |
|
| 19 |
+
| ------------------------------------------------ | ---------------------------- | ------- |
|
| 20 |
+
| `Wan2_1-T2V-1_3B_FlashVSR_fp32.safetensors` | Main FlashVSR model weights | ~5.7 GB |
|
| 21 |
+
| `Wan2_1_FlashVSR_TCDecoder_fp32.safetensors` | Temporal consistency decoder | ~181 MB |
|
| 22 |
+
| `Wan2_1_FlashVSR_LQ_proj_model_bf16.safetensors` | Low-quality projection model | ~576 MB |
|
| 23 |
+
| `Wan2.1_VAE.safetensors` | VAE weights | ~254 MB |
|
| 24 |
+
| `Prompt.safetensors` | Conditioning embeddings | ~4 MB |
|
| 25 |
+
|
| 26 |
+
### βοΈ Usage (with ComfyUI)
|
| 27 |
+
|
| 28 |
+
1. **Install** [ComfyUI](https://github.com/comfyanonymous/ComfyUI)
|
| 29 |
+
2. **Clone** the FlashVSR node extension:
|
| 30 |
+
|
| 31 |
+
```bash
|
| 32 |
+
git clone https://github.com/1038lab/ComfyUI-FlashVSR.git
|
| 33 |
+
```
|
| 34 |
+
3. **Download the model files** from this Hugging Face repo:
|
| 35 |
+
|
| 36 |
+
* Place them inside:
|
| 37 |
+
|
| 38 |
+
```
|
| 39 |
+
ComfyUI/models/FlashVSR/
|
| 40 |
+
```
|
| 41 |
+
4. **Launch ComfyUI** and load the FlashVSR workflow.
|
| 42 |
+
|
| 43 |
+
### π§βπ¬ Original Work
|
| 44 |
+
|
| 45 |
+
This model is based on the research and implementation from
|
| 46 |
+
π [JunhaoZhuang/FlashVSR](https://huggingface.co/JunhaoZhuang/FlashVSR)
|
| 47 |
+
All credit for the model architecture and original training goes to the authors.
|
| 48 |
+
|
| 49 |
+
This repository only repackages the model for **ComfyUI integration**.
|
| 50 |
+
|
| 51 |
+
### π License
|
| 52 |
+
|
| 53 |
+
Please refer to the original [FlashVSR license](https://huggingface.co/JunhaoZhuang/FlashVSR) for usage rights.
|
| 54 |
+
Any redistribution or fine-tuning should comply with the same terms.
|
| 55 |
+
|
| 56 |
+
### π§° Related Resources
|
| 57 |
+
|
| 58 |
+
* π§© [ComfyUI-FlashVSR GitHub Repo](https://github.com/1038lab/ComfyUI-FlashVSR)
|
| 59 |
+
* π [FlashVSR Original Model](https://huggingface.co/JunhaoZhuang/FlashVSR)
|
| 60 |
+
* π¬ [Hugging Face Discussion](https://huggingface.co/1038lab/FlashVSR/discussions)
|
models/FlashVSR/TCDecoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cefcf8672d0173c4c50e7fcff18c34b2a1bf76f9d85c95f6108055c8d30e76a6
|
| 3 |
+
size 181359724
|
models/FlashVSR/Wan2.1_VAE.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2fc39d31359a4b0a64f55876d8ff7fa8d780956ae2cb13463b0223e15148976b
|
| 3 |
+
size 253815318
|
models/FlashVSR/Wan2_1-T2V-1_3B_FlashVSR_fp32.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b05be65078a22000d8efdb6ce212133fd043255371c015329e9f3d31645c62c5
|
| 3 |
+
size 5676070392
|
models/FlashVSR/Wan2_1_FlashVSR_LQ_proj_model_bf16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c3f14c76b139aaf080a076e074f4214139c4eb80bc4a3dedad56ce0722b7b28
|
| 3 |
+
size 575692608
|