Use different revision for more one model. #480
Replies: 6 comments
-
Can you try providing the revisions the same way you provide multiple model IDs? ''' |
Beta Was this translation helpful? Give feedback.
-
I tried that, got this error: docker run -it \
-v $PWD/data:/app/.cache \
-p 7998:7998 \
michaelf34/infinity:latest \
v2 \
--model-id dunzhang/stella_en_400M_v5 \
--model-id HIT-TMG/KaLM-embedding-multilingual-mini-instruct-v1 \
--port 7998 \
--revision "refs/pr/24" \
--revision "refs/heads/main" \
--dtype bfloat16 \
--batch-size 16 \
--device auto \
--engine torch \
--no-bettertransformer \
--log-level debug```
Got this error:
```bash
Usage: infinity_emb v2 [OPTIONS]
Try 'infinity_emb v2 --help' for help.
╭─ Error ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Got unexpected extra argument ( ) │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
zsh: command not found: --dtype```
I think cli doesn't have revision handling for multiple models in the logic. |
Beta Was this translation helpful? Give feedback.
-
Looks like the formatting of your command is wrong. Theres an extra space after |
Beta Was this translation helpful? Give feedback.
-
You were right. thanks for the support. I will close the issue. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the support! Moving to discussion |
Beta Was this translation helpful? Give feedback.
-
Hello @michaelfeil , I am wondering how would I export revision env variable if I am putting this server in k8s? |
Beta Was this translation helpful? Give feedback.
-
I am trying to use two different models like this:
I get this error:
Does
--revision
support referencing two different refs for both models?Beta Was this translation helpful? Give feedback.
All reactions