Skip to content

Commit ecaf620

Browse files
committed
decouple post install scripti with the new inferenceengines
1 parent 9a0e397 commit ecaf620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "node index.js",
99
"dev": "nodemon index.js",
1010
"precommit": "prettier --write .",
11-
"postinstall": "npm run update-engines && cd InferenceEngine/embeddings/all-mpnet-base-v2 && python -m pip install -r requirements.txt",
11+
"update-embeddings": "cd InferenceEngine/embeddings/all-mpnet-base-v2 && python -m pip install -r requirements.txt",
1212
"update-engines": "git submodule foreach git pull && npm run ggml-build",
1313
"ggml-build": "cd InferenceEngine/completion/ggml && mkdir -p build && cd build && cmake .. && make clean && make",
1414
"ggml-install-gpt-2": "cd models && mkdir -p ggml && cd ggml && mkdir -p gpt-2 && cd gpt-2 && ../../../scripts/InferenceEngine/ggml-installation/gpt-2/download-ggml-model.sh 117M",

0 commit comments

Comments
 (0)