forked from jina-ai/dalle-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflow.yml
47 lines (47 loc) · 1.07 KB
/
flow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
jtype: Flow
with:
protocol: grpc
port: 51005
env:
JINA_LOG_LEVEL: debug
JINA_EARLY_STOP: 1
executors:
- name: dalle
uses: executors/dalle/config.yml
env:
CUDA_VISIBLE_DEVICES: 1
- name: rerank
uses: ReRank
uses_with:
clip_server: grpc://0.0.0.0:51000
py_modules:
- executors/rerank/executor.py
- name: diffusion
uses: GLID3Diffusion
uses_with:
steps: 80
glid3_path: ../glid-3-xl
py_modules:
- executors/glid3/executor.py
env:
CUDA_VISIBLE_DEVICES: 2
# - name: upscaler
# uses: WaifuUpscaler
# py_modules:
# - executors/waifu/executor.py
# uses_with:
# waifu_url: https://github.com/nihui/waifu2x-ncnn-vulkan/releases/download/20220419/waifu2x-ncnn-vulkan-20220419-ubuntu.zip
- name: upscaler
uses: SwinIRUpscaler
py_modules:
- executors/swinir/executor.py
uses_with:
swinir_path: ../SwinIR
env:
CUDA_VISIBLE_DEVICES: 2
- name: store
uses: MyStore
py_modules:
- executors/store/executor.py
uses_with:
store_path: dalle.db