Run this model with HF Jobs

Run BAAI/bge-multilingual-gemma2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/BAAI/bge-multilingual-gemma2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/BAAI/bge-multilingual-gemma2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

FlagEmbedding调用显卡问题

#4
by labniz - opened

os.environ["CUDA_VISIBLE_DEVICES"] = "[5,6]"? 还是 os.environ["CUDA_VISIBLE_DEVICES"] = "5,6"?呀

作者您好,不太清楚通过FlagEmbedding使用gpu的方式,输出会显示说
----------using 8*GPUs----------
但看显卡情况是没有用到

labniz changed discussion status to closed
labniz changed discussion status to open
labniz changed discussion title from os.environ["CUDA_VISIBLE_DEVICES"] to os.environ["CUDA_VISIBLE_DEVICES"]调用显卡问题
labniz changed discussion title from os.environ["CUDA_VISIBLE_DEVICES"]调用显卡问题 to FlagEmbedding调用显卡问题
Beijing Academy of Artificial Intelligence org

是os.environ["CUDA_VISIBLE_DEVICES"] = "5,6"

Sign up or log in to comment