-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.js
58 lines (58 loc) · 1.25 KB
/
install.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
module.exports = {
run: [
{
method: "shell.run",
params: {
message: [
"git clone --recurse-submodules https://github.com/microsoft/TRELLIS.git app",
]
}
},
{
method: "shell.run",
params: {
venv: "env",
path: "app",
message: [
"uv pip install -U setuptools wheel ninja"
]
}
},
{
method: "script.start",
params: {
uri: "torch.js",
params: {
venv: "env",
path: "app",
xformers: true
}
}
},
{
method: "shell.run",
params: {
venv: "env",
path: "app",
message: [
"uv pip install -r ../requirements.txt",
"uv pip install huggingface_hub hf_transfer"
]
}
},
{
method: "fs.link",
params: {
venv: "app/env"
}
} //,
// {
// method: "shell.run",
// params: {
// message: [
// "echo Optimising pipeline script... && curl -o app/trellis/pipelines/trellis_image_to_3d.py https://raw.githubusercontent.com/0lento/TRELLIS/refs/heads/low-vram/trellis/pipelines/trellis_image_to_3d.py"
// ]
// }
// }
]
};