diff --git a/.vs/TeaCache/FileContentIndex/f7130730-ac14-4fbe-ac5e-112f750f4af9.vsidx b/.vs/TeaCache/FileContentIndex/f7130730-ac14-4fbe-ac5e-112f750f4af9.vsidx new file mode 100644 index 0000000..e852f0e Binary files /dev/null and b/.vs/TeaCache/FileContentIndex/f7130730-ac14-4fbe-ac5e-112f750f4af9.vsidx differ diff --git a/.vs/TeaCache/v17/.wsuo b/.vs/TeaCache/v17/.wsuo new file mode 100644 index 0000000..ee5dc8f Binary files /dev/null and b/.vs/TeaCache/v17/.wsuo differ diff --git a/.vs/TeaCache/v17/DocumentLayout.json b/.vs/TeaCache/v17/DocumentLayout.json new file mode 100644 index 0000000..c213cab --- /dev/null +++ b/.vs/TeaCache/v17/DocumentLayout.json @@ -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": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..c3a400a --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,8 @@ +{ + "ExpandedNodes": [ + "", + "\\TeaCache4HunyuanVideo" + ], + "SelectedNode": "\\TeaCache4HunyuanVideo\\README.md", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..0016dc3 Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/TeaCache4HunyuanVideo/README.md b/TeaCache4HunyuanVideo/README.md index 93f986d..85bbbdc 100644 --- a/TeaCache4HunyuanVideo/README.md +++ b/TeaCache4HunyuanVideo/README.md @@ -14,7 +14,7 @@ ## 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: @@ -48,7 +48,7 @@ torchrun --nproc_per_node=8 teacache_sample_video.py \ --save-path ./teacache_results ``` -You can modify the thresh in line 220 to obtain your desired trade-off between latency and visul quality. + ## Acknowledgements