code
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def respond(
|
|
26 |
repo_id="matteogeniaccio/phi-4",
|
27 |
filename="phi-4-Q4_K_M.gguf",
|
28 |
verbose=True,
|
29 |
-
main_gpu=
|
30 |
n_gpu_layers=-1
|
31 |
)
|
32 |
# 使用llama-cpp-python的方式生成响应
|
|
|
26 |
repo_id="matteogeniaccio/phi-4",
|
27 |
filename="phi-4-Q4_K_M.gguf",
|
28 |
verbose=True,
|
29 |
+
main_gpu=1,
|
30 |
n_gpu_layers=-1
|
31 |
)
|
32 |
# 使用llama-cpp-python的方式生成响应
|