-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Docker image with customized yaml doesnt work #893
Comments
Could you try this:
|
Didnt work again. Throws full of a page of this error as same as i explained methods above. Default docker image run command doesnt throw this deprecationWarning message.
|
@pasa13142 There is a issue with the clip_server onnx docker image, we are fixing it and will let you know for any progress. Sorry for the inconvenience! You might use clip_server torch image or serve with source code to unblock your work |
Hi @pasa13142 The issue is fixed and the pr is merged. Please pull the latest Notice that we also updated the instructions on how to serve the docker container here. The correct way to run a onnx docker container using the default config is like Thanks for reporting this issue 🍻 |
Hello, Can I have clip-server:master-onnx dockerfile? |
It's in the repo: |
after built image with :
and run with both :
and
They throw the same error:
|
@ZiniuYu Hello again! Do you know how can get "clip-server:latest-onnx"'s dockerfile? Pulling repo and build & run is not latest and producing different encoding values. |
Hi, Thanks for this great repo!
If i try to run clip as service in docker with
docker run -p 51009:51000 -v $HOME/.cache:/home/cas/.cache --gpus all jinaai/clip-server:master-onnx
everything is okay. It works on gpu with 1 replica.I just would like to run this proper docker with more replicas and created custom yaml:
python -m clip_server onnx-flow-custom.yml
and tried:
cat onnx-flow-custom.yml | docker run -i -p 51009:51000 -v $HOME/.cache:/home/cas/.cache --gpus all jinaai/clip-server:master-onnx -i
and i just want to add more replicas in it instead of 1.
But I try with above yaml or even with original yamls like:
they dont work. no gpu, no even replicas. Whatever i do, it throws that warning message with a full of page of it: Default docker image run command doesnt throw this deprecationWarning message.
I just wanted to use original master-onnx image with more replicas. Can anyone help?
The text was updated successfully, but these errors were encountered: