Open easonforai opened 8 months ago
InferSentenceTransformer(model_name_or_path=model_path, device="cuda:1", onnx_model_name=onnx_model_name) 这里指定第二块卡时,运行时还是都用在第一块卡上
InferSentenceTransformer(model_name_or_path=model_path, device="cuda:1", onnx_model_name=onnx_model_name) 这里指定第二块卡时,运行时还是都用在第一块卡上