Closed augustleoo closed 1 year ago
Hello @augustleoo there is a typo in the flow's yml
you need to change it to the following:
jtype: Flow
executors:
- name: whisper
uses: jinahub+docker://WhisperExecutor
uses_with:
model_name: medium
gpus: all
jcloud:
resources:
gpu: 1
memory: 2G
- name: diffusion
uses: jinahub+docker://StableDiffusionExecutor
uses_with:
auth_token: ${{ ENV.HF_TOKEN }}
timeout_ready: -1 # slow download speed often leads to timeout
replicas: 2
jcloud:
resources:
gpu: 1
memory: 16G
Notice the G
added to the memory
argument.
Hello @augustleoo there is a typo in the flow's
yml
you need to change it to the following:jtype: Flow executors: - name: whisper uses: jinahub+docker://WhisperExecutor uses_with: model_name: medium gpus: all jcloud: resources: gpu: 1 memory: 2G - name: diffusion uses: jinahub+docker://StableDiffusionExecutor uses_with: auth_token: ${{ ENV.HF_TOKEN }} timeout_ready: -1 # slow download speed often leads to timeout replicas: 2 jcloud: resources: gpu: 1 memory: 16G
Notice the
G
added to thememory
argument.
It works!! Thank you so much!
I was testing with the 'speech2image' example you provided here: https://github.com/jina-ai/example-speech-to-image
But when I was tryting to deploy the 'flow.yml', error message appears as:
I've tried to change the 'uses' in the yml, but nothing seemed t work.
Could you please help?