Repository navigation
Use different revision for more one model. #480
rohilrg-diabolocom
announced in
Announcements
Replies: 6 comments
|
Can you try providing the revisions the same way you provide multiple model IDs? ''' |
0 replies
|
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. |
0 replies
|
Looks like the formatting of your command is wrong. Theres an extra space after |
0 replies
|
You were right. thanks for the support. I will close the issue. |
0 replies
|
Thanks for the support! Moving to discussion |
0 replies
|
Hello @michaelfeil , I am wondering how would I export revision env variable if I am putting this server in k8s? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am trying to use two different models like this:
I get this error:
Does
--revisionsupport referencing two different refs for both models?All reactions