mirror of
https://git.datalinker.icu/ali-vilab/TeaCache
synced 2026-01-23 14:04:28 +08:00
support HunyuanVideo
This commit is contained in:
parent
773bb5b0b0
commit
76f351bc2a
Binary file not shown.
BIN
.vs/TeaCache/v17/.wsuo
Normal file
BIN
.vs/TeaCache/v17/.wsuo
Normal file
Binary file not shown.
37
.vs/TeaCache/v17/DocumentLayout.json
Normal file
37
.vs/TeaCache/v17/DocumentLayout.json
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\25142\\Documents\\TeaCache\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\25142\\Documents\\TeaCache\\TeaCache4HunyuanVideo\\README.md||{EFC0BB08-EA7D-40C6-A696-C870411A895B}",
|
||||||
|
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:TeaCache4HunyuanVideo\\README.md||{EFC0BB08-EA7D-40C6-A696-C870411A895B}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "README.md",
|
||||||
|
"DocumentMoniker": "C:\\Users\\25142\\Documents\\TeaCache\\TeaCache4HunyuanVideo\\README.md",
|
||||||
|
"RelativeDocumentMoniker": "TeaCache4HunyuanVideo\\README.md",
|
||||||
|
"ToolTip": "C:\\Users\\25142\\Documents\\TeaCache\\TeaCache4HunyuanVideo\\README.md",
|
||||||
|
"RelativeToolTip": "TeaCache4HunyuanVideo\\README.md",
|
||||||
|
"ViewState": "AgIAACEAAAAAAAAAAAAAACIAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001818|",
|
||||||
|
"WhenOpened": "2024-12-24T15:01:17.968Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
8
.vs/VSWorkspaceState.json
Normal file
8
.vs/VSWorkspaceState.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"ExpandedNodes": [
|
||||||
|
"",
|
||||||
|
"\\TeaCache4HunyuanVideo"
|
||||||
|
],
|
||||||
|
"SelectedNode": "\\TeaCache4HunyuanVideo\\README.md",
|
||||||
|
"PreviewInSolutionExplorer": false
|
||||||
|
}
|
||||||
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Follow [HunyuanVideo](https://github.com/Tencent/HunyuanVideo) to clone the repo and finish the installation, then copy 'teacache_sample_video.py' in this repo to the HunyuanVideo repo.
|
Follow [HunyuanVideo](https://github.com/Tencent/HunyuanVideo) to clone the repo and finish the installation, then copy 'teacache_sample_video.py' in this repo to the HunyuanVideo repo. You can modify the thresh in line 220 to obtain your desired trade-off between latency and visul quality.
|
||||||
|
|
||||||
For single-gpu inference, you can use the following command:
|
For single-gpu inference, you can use the following command:
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ torchrun --nproc_per_node=8 teacache_sample_video.py \
|
|||||||
--save-path ./teacache_results
|
--save-path ./teacache_results
|
||||||
```
|
```
|
||||||
|
|
||||||
You can modify the thresh in line 220 to obtain your desired trade-off between latency and visul quality.
|
|
||||||
|
|
||||||
## Acknowledgements
|
## Acknowledgements
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user