已修改config
This commit is contained in:
1 parent
d93cf2d5e5
commit
7fd2b9ab41
1 file changed
+3
-3
+3
-3
@@ -4,14 +4,14 @@ listen_port: 8080
|
|||||||
|
|
||||||
limits:
|
limits:
|
||||||
max_sessions: 4
|
max_sessions: 4
|
||||||
hook_timeout_seconds: 60 # guard 模型 CPU 推理慢,默认 5s 不够
|
hook_timeout_seconds: 5
|
||||||
upstream_timeout_seconds: 120
|
upstream_timeout_seconds: 120
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
- id: guard_model
|
- id: guard_model
|
||||||
type: guard
|
type: guard
|
||||||
file: models/ # 待修改
|
file: model
|
||||||
load: {device: cpu} #待修改 (cude / cpu)
|
load: {device: cuda}
|
||||||
limits:
|
limits:
|
||||||
max_input_tokens: 4096
|
max_input_tokens: 4096
|
||||||
max_new_tokens: 32
|
max_new_tokens: 32
|
||||||
|
|||||||
Reference in new issue
Block a user