Closed Ethan-Chen-plus closed 1 year ago
Hi. What is your jcloud version? Did you retry on this issue? Are you using some kind of system-wide non-standard proxy software? Could you try again without any proxy software or using another computer?
Hi. What is your jcloud version? Did you retry on this issue? Are you using some kind of system-wide non-standard proxy software? Could you try again without any proxy software or using another computer?
I closed all my proxy and I have retried for several times, it doesn't works.
I searched from the docs:https://docs.jina.ai/jina-ai-cloud/login/ I see that the token would be saved locally.I wonder whether the reason is that I use WSL and the browser is my windows browser so the token saved in windows not WSL. So I need some ways to manually save the token in my WSL.
It should be able to work with WSL.
The command line uses a persistent HTTPS connection under the hood.
When your browser shows the Login Success
page, the command line should receive an event push from the server.
Somehow this didn't happen.
Could you try with another network environment without a proxy, like a 4G/5G hotspot?
If it's still not working, you can create a PAT from the UI to walk around. https://docs.jina.ai/jina-ai-cloud/login/#token-management
I tried with 5G hotspot from my mobile phone instead of WIFI I had used before. However this doesn't change. I used I
export JINA_AUTH_TOKEN="d08ede1xxxxxxxxxxxx"
and then the login seems OK.
however there is another problem happened when I used deploy
:
Bad response: expecting 201, got 400 from server.
{
"code": 400,
"error": "cannot load Flow config failed to unmarshal flow config: error
unmarshaling JSON: while decoding JSON: json: cannot unmarshal number into Go
struct field tmpType.executors of type string",
"id": "",
"status": {
"phase": "",
"conditions": null,
"version": "",
"protocol": "",
"endpoints": null,
"dashboards": null
},
"ctime": "0001-01-01T00:00:00Z",
"utime": "0001-01-01T00:00:00Z"
}
I cloned it from this project:https://github.com/jina-ai/example-speech-to-image
What's your Flow YAML in this case?
jtype: Flow
executors:
- name: whisper
uses: jinahub+docker://WhisperExecutor
uses_with:
model_name: medium
gpus: all
jcloud:
resources:
gpu: 1
memory: 2
- 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: 16
can you try changing memory: 2 to memory: 2G (memory: 16 to memory: 16G) to see if that makes any difference?
I changed it, so this happened:
so I used vi flow.py
and it seems that this project requires two GPUs.
how to solve it?
Hey @Ethan-Chen-plus, currently we have a few restrictions in JCloud, and we allow at max 1 GPU per Flow.
Please reopen if needed.
as it showed below it can be success loged in the website. however these isn't any info shown in terminal. after about 5min it show this in terminal
how can I solve this?