-
Notifications
You must be signed in to change notification settings - Fork 0
/
flow.yml
21 lines (21 loc) · 650 Bytes
/
flow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
jtype: Flow
with:
protocol: http
monitoring: true
cors: true
port: 51001
port_monitoring: 51002 # prometheus monitoring port
env:
JINA_LOG_LEVEL: debug
DISCOART_DISABLE_IPYTHON: 1
DISCOART_DISABLE_RESULT_SUMMARY: 1
WANDB_MODE: disabled
executors:
- name: discoart
uses: DiscoArtExecutor
env:
CUDA_VISIBLE_DEVICES: RR0:2 # change this if you have multiple GPU
replicas: 1 # change this if you have larger VRAM
floating: false # new feature in Jina 3.7, set this to true allows `create` to be immediately returned without waiting the response on the client
- name: poller
uses: ResultPoller