-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathinstall.js
More file actions
52 lines (52 loc) · 1.01 KB
/
Copy pathinstall.js
File metadata and controls
52 lines (52 loc) · 1.01 KB
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
module.exports = {
requires: {
bundle: "ai"
},
run: [
{
when: "{{!exists('app')}}",
method: "shell.run",
params: {
message: "git clone https://github.com/deepbeepmeep/Wan2GP app"
}
},
{
method: "script.start",
params: {
uri: "torch.js",
params: {
venv_python: "3.11",
venv: "env",
path: "app",
xformers: true
}
}
},
{
method: "shell.run",
params: {
venv: "env",
path: "app",
message: [
"uv pip install -r requirements.txt --index-strategy unsafe-best-match",
"uv pip install hf-xet pip comtypes"
]
}
},
{
when: "{{platform === 'win32' && gpu === 'amd'}}",
method: "shell.run",
params: {
venv: "env",
path: "app",
message: "uv pip install numpy==1.26.4"
}
},
{
method: "notify",
params: {
html: "Installation completed"
}
}
]
}