8000 Update Build · sirajperson/falcon-cpp-python@af336a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit af336a9

Browse files
committed
Update Build
1 parent 163f3e3 commit af336a9

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "vendor/llama.cpp"]
2-
path = vendor/llama.cpp
3-
url = https://github.com/ggerganov/llama.cpp.git
41
[submodule "ggllm.cpp"]
52
path = ggllm.cpp
63
url = https://github.com/cmp-nct/ggllm.cpp

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ deploy.gh-docs:
3434
mkdocs gh-deploy
3535

3636
clean:
37-
- cd vendor/llama.cpp && make clean
38-
- cd vendor/llama.cpp && rm libllama.so
37+
- cd vendor/ggllm.cpp && make clean
38+
- cd vendor/ggllm.cpp && rm ggllm.so
3939
- rm -rf _skbuild
40-
- rm llama_cpp/*.so
41-
- rm llama_cpp/*.dylib
42-
- rm llama_cpp/*.metal
43-
- rm llama_cpp/*.dll
44-
- rm llama_cpp/*.lib
40+
- rm falcon_cpp/*.so
41+
- rm falcon_cpp/*.dylib
42+
- rm falcon_cpp/*.metal
43+
- rm falcon_cpp/*.dll
44+
- rm falcon_cpp/*.lib
4545

4646
.PHONY: \
4747
update \

falcon_cpp/server/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Settings(BaseSettings):
2424
default=None,
2525
description="The alias of the model to use for generating completions.",
2626
)
27-
n_ctx: int = Field(default=2048, ge=1, description="The context size.")
27+
n_ctx: int = Field(default=8192, ge=1, description="The context size.")
2828
n_gpu_layers: int = Field(
2929
default=0,
3030
ge=0,

0 commit comments

Comments
 (0)
0