Skip to content

Running models on seperate devices #485

Answered by michaelfeil
Sens612 asked this question in Q&A
Discussion options

You must be logged in to vote

@Sens612 There is a section in the Readme on CLI usage.

e.g.

infinity_emb v2 \
--model-id all-MiniLM-L6-v2 --engine optimum --device cpu --batch-size 8 \
--model-id cross-encoder/ms-marco-MiniLM-L-6-v2  --engine torch --device cuda --batch-size 16 

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Sens612
Comment options

You must be logged in to vote
2 replies
@michaelfeil
Comment options

@michaelfeil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants