Skip to content

Commit

Permalink
fix: hub push
Browse files Browse the repository at this point in the history
  • Loading branch information
numb3r3 committed May 27, 2022
1 parent d23ca0b commit 1e07883
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/force-hub-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,13 @@ jobs:
from .executors.clip_torch import CLIPEncoder\n\
" >> server/clip_server/__init__.py
cat server/clip_server/__init__.py
echo -e "\
jtype: CLIPEncoder\n\
metas:\n\
py_modules:\n\
- server/clip_server/__init__.py\n\
" > config.yml
cat config.yml
echo -e "\
manifest_version: 1\n\
name: CLIPTorchEncoder\n\
Expand All @@ -102,8 +97,7 @@ jobs:
cp Dockerfiles/base.Dockerfile Dockerfile
cp Dockerfiles/cuda.Dockerfile Dockerfile.gpu
# exec_name=`yq -r .name manifest.yml`
exec_name=CLIPTorchEncoder
exec_name=`yq -r .name manifest.yml`
echo executor name is $exec_name
jina hub push --force $exec_name --secret ${{secrets.TORCH_EXEC_SECRET}} . ${{env.TAG_ALIAS}}

0 comments on commit 1e07883

Please sign in to comment.