-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathinstall.json
54 lines (54 loc) · 1.19 KB
/
install.json
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
{
"requires": [{
"type": "conda",
"name": ["ffmpeg", "cmake"],
"args": "-c conda-forge"
}],
"run": [{
"method": "shell.run",
"params": {
"message": "git clone https://github.com/ggerganov/llama.cpp"
}
}, {
"method": "fs.download",
"params": {
"uri": "https://huggingface.co/mys/ggml_bakllava-1/resolve/main/ggml-model-q4_k.gguf",
"dir": "llama.cpp/models"
}
}, {
"method": "fs.download",
"params": {
"uri": "https://huggingface.co/mys/ggml_bakllava-1/resolve/main/mmproj-model-f16.gguf",
"dir": "llama.cpp/models"
}
}, {
"method": "shell.run",
"params": {
"message": [
"mkdir build",
"cd build",
"cmake ..",
"cmake --build . --config Release",
"cd .."
],
"path": "llama.cpp"
}
}, {
"method": "shell.run",
"params": {
"venv": "venv",
"message": "pip install -r requirements.txt"
}
}, {
"method": "input",
"params": {
"title": "Install Finished",
"description": "Go back to the dashboard and launch the app!"
}
}, {
"method": "browser.open",
"params": {
"uri": "/?selected=Mirror"
}
}]
}