jtype: Flow
with:
protocol: grpc
monitoring: true
port: 51001
port_monitoring: 51002 # prometheus monitoring port
env:
JINA_LOG_LEVEL: debug
DISCOART_DISABLE_IPYTHON: 1
DISCOART_DISABLE_RESULT_SUMMARY: 1
executors:
- name: discoart
uses: DiscoArtExecutor
# env:
# CUDA_VISIBLE_DEVICES: RR0:3 # change this if you have multiple GPU
# replicas: 3 # change this if you have larger VRAM
- name: poller
uses: ResultPoller
my client Python code:
from jina import Client
c = Client(host='grpc://myserver:51001')
da = c.post(
'/create',
parameter={
'name_docarray': 'mydisco-123',
'text_prompts': [
'A beautiful painting of a singular lighthouse',
'yellow color scheme',
],
},
)
Hi, i'm having problems server Discoart with this error: on client:
on server:
My docker command is:
my discoart_flow.yml is:
my client Python code: