-
Hi all, |
Beta Was this translation helpful? Give feedback.
Answered by
rmitsch
Aug 24, 2023
Replies: 1 comment 2 replies
-
Hi @bpben, in line with Hugging Face's [components.llm.model]
@llm_models = "spacy.Dolly.v1"
name = "dolly-v2-3b"
config_init = {"device": "cuda:0"} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bpben
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @bpben, in line with Hugging Face's
transformers.pipeline
you can includedevice=cuda:ID
(e. g.device=cuda:0
) in your models' config inconfig_init
: