-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathupdate.js
More file actions
44 lines (44 loc) · 823 Bytes
/
Copy pathupdate.js
File metadata and controls
44 lines (44 loc) · 823 Bytes
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
module.exports = {
run: [{
method: "shell.run",
params: {
message: "git pull"
}
}, {
method: "shell.run",
params: {
path: "app",
message: "git pull"
}
}, {
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 comtypes"
]
}
},
{
when: "{{platform === 'win32' && gpu === 'amd'}}",
method: "shell.run",
params: {
venv: "env",
path: "app",
message: "uv pip install numpy==1.26.4"
}
}]
}