Closed big-thousand closed 1 year ago
Hi @big-thousand
Notice that if you do not specify timeout_ready
in the YAML file, it will adapt the default value of 10 min.
Several possible reasons may cause you to get timeout errors:
Anyway, you can increase the timeout limit by setting the timeout_ready
in the YAML file.
Or you could try to use a smaller model.
For example, to have a longer timeout at 30 min, you can use:
jtype: Flow
version: '1'
with:
port: 51000
executors:
- name: clip_t
uses:
jtype: CLIPEncoder
timeout_ready: 1800000
with:
name: M-CLIP/XLM-Roberta-Large-Vit-L-14
metas:
py_modules:
- clip_server.executors.clip_torch