-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathh.js
93 lines (93 loc) · 3.06 KB
/
h.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
module.exports = {
run: [
// Edit this step with your custom install commands
{
method: "fs.download",
params: {
uri: "https://huggingface.co/Kijai/HunyuanVideo_comfy/resolve/main/hunyuan_video_720_cfgdistill_fp8_e4m3fn.safetensors?download=true",
dir: "https://github.com/pinokiofactory/comfy.git/app/models/diffusion_models"
}
},
{
method: "fs.download",
params: {
uri: "https://huggingface.co/Kijai/HunyuanVideo_comfy/resolve/main/hunyuan_video_vae_bf16.safetensors?download=true",
dir: "https://github.com/pinokiofactory/comfy.git/app/models/vae"
}
},
{
method: "shell.run",
params: {
path: "https://github.com/pinokiofactory/comfy.git/app/models/LLM",
message: "huggingface-cli download Kijai/llava-llama-3-8b-text-encoder-tokenizer --local-dir llava-llama-3-8b-text-encoder-tokenizer"
}
},
{
method: "shell.run",
params: {
path: "https://github.com/pinokiofactory/comfy.git/app/models/clip",
message: "huggingface-cli download openai/clip-vit-large-patch14 --local-dir clip-vit-large-patch14"
}
},
{
method: "shell.run",
params: {
path: "https://github.com/pinokiofactory/comfy.git/app/custom_nodes",
message: [
"git clone https://github.com/kijai/ComfyUI-HunyuanVideoWrapper"
],
}
},
{
method: "fs.copy",
params: {
src: "https://github.com/pinokiofactory/comfy.git/app/custom_nodes/ComfyUI-HunyuanVideoWrapper/examples/hyvideo_t2v_example_01.json",
dest: "https://github.com/pinokiofactory/comfy.git/app/user/default/workflows/hunyuanvideo/hyvideo_t2v_example_01.json",
}
},
{
method: "fs.copy",
params: {
src: "https://github.com/pinokiofactory/comfy.git/app/custom_nodes/ComfyUI-HunyuanVideoWrapper/examples/hyvideo_v2v_example_01.json",
dest: "https://github.com/pinokiofactory/comfy.git/app/user/default/workflows/hunyuanvideo/hyvideo_v2v_example_01.json"
}
},
{
method: "shell.run",
params: {
venv: "../../env",
path: "app/custom_nodes/ComfyUI-HunyuanVideoWrapper",
message: [
"pip install -r requirements.txt",
// "pip install sageattention",
// "{{platform === 'win32' ? 'pip install https://github.com/woct0rdho/triton-windows/releases/download/v3.0.0-windows.post3/triton-3.0.0-cp310-cp310-win_amd64.whl' : 'pip install triton'}}"
]
}
},
{
method: "shell.run",
params: {
path: "https://github.com/pinokiofactory/comfy.git/app/custom_nodes",
message: [
"git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite"
],
}
},
{
method: "shell.run",
params: {
venv: "../../env",
path: "app/custom_nodes/ComfyUI-VideoHelperSuite",
message: [
"pip install -r requirements.txt",
]
}
},
//{
// method: "fs.link",
// params: {
// venv: "env"
// }
//}
]
}