Release v1.3.0 - Add offloading model to cpu - closes #17, #18

This commit is contained in:
LucipherDev
2025-02-27 08:47:59 +05:30
parent a4fd16d1f2
commit 5b3d967ed4
3 changed files with 28 additions and 14 deletions
+3 -1
View File
@@ -25,7 +25,7 @@ python install.py
## Example Workflow
![example_workflow](https://github.com/user-attachments/assets/610d2ccb-c827-4797-9d8f-50b193d43db3)
![example_workflow](https://github.com/user-attachments/assets/eb4cb6c9-f9d9-4d64-a59a-00911b1aed61)
## Usage
@@ -41,6 +41,8 @@ python install.py
The nodes can be found in "TangoFlux" category as `TangoFluxLoader`, `TangoFluxSampler`, `TangoFluxVAEDecodeAndPlay`.
If you are on low VRAM, try enabling `offload_model_to_cpu` in `TangoFluxSampler`.
The `audio` output of the `TangoFluxVAEDecodeAndPlay` can be used as audio input for the[ComfyUI-VideoHelperSuite](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite) `VideoCombine` node. ***(This will not sync audio to the video)***
![teacache_options](https://github.com/user-attachments/assets/29e676d9-902b-4ea2-9f72-18d3607996e8)
+24 -12
View File
@@ -11,7 +11,7 @@
],
"size": [
315,
150
192
],
"flags": {},
"order": 2,
@@ -28,7 +28,13 @@
"link": 3
}
],
"outputs": [],
"outputs": [
{
"name": "audio",
"type": "AUDIO",
"links": null
}
],
"properties": {
"Node name for S&R": "TangoFluxVAEDecodeAndPlay"
},
@@ -36,7 +42,8 @@
32,
"TangoFlux",
"wav",
true
true,
""
]
},
{
@@ -89,7 +96,7 @@
],
"size": [
400,
220
244
],
"flags": {},
"order": 1,
@@ -119,9 +126,10 @@
50,
3,
10,
310686137950669,
214076069052112,
"randomize",
1
1,
false
]
}
],
@@ -155,12 +163,16 @@
"config": {},
"extra": {
"ds": {
"scale": 0.8630044843049327,
"offset": [
95.83333333333337,
-8.663289166017137
]
}
"scale": 1,
"offset": {
"0": 0,
"1": 0
}
},
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-tangoflux"
description = "ComfyUI Custom Nodes for 'TangoFlux: Super Fast and Faithful Text to Audio Generation with Flow Matching'. This generates high-quality 44.1kHz audio up to 30 seconds using just a text prompt."
version = "1.2.1"
version = "1.3.0"
license = {file = "LICENSE"}
dependencies = ["torchaudio", "diffusers", "accelerate", "tqdm"]