diff --git a/fam-edge/config/config.yaml b/fam-edge/config/config.yaml index 1daf5e1..0b82fae 100644 --- a/fam-edge/config/config.yaml +++ b/fam-edge/config/config.yaml @@ -27,12 +27,14 @@ video: max_long_edge: 1024 # 超时(秒) +# vlm_visual 实测: 1024px 帧视觉编码 ~36s/帧 + 生成 ~12s/60token (Oracle ARM CPU) +# 30min 视频 12 帧 × ~50s ≈ 600s,超时需覆盖最坏情况 timeout: download: 60 - vlm_visual: 240 - vlm_fusion: 120 + vlm_visual: 600 + vlm_fusion: 300 callback: 30 - overall: 600 + overall: 1800 # 模型清单 models: @@ -40,8 +42,9 @@ models: enabled: true model_name: "llava-phi3" base_url: "http://localhost:11434" - timeout: 240 - num_predict: 500 + timeout: 600 + # num_predict 必须小: ARM CPU ~5 tok/s,500 会单帧跑数分钟触发超时 + num_predict: 60 circuit_breaker: enabled: false threshold: 5