We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d4726b commit 4effaa4Copy full SHA for 4effaa4
optimum/intel/pipelines/pipeline_base.py
@@ -235,7 +235,7 @@ def pipeline(
235
)
236
237
if accelerator not in MAPPING_LOADING_FUNC:
238
- raise ValueError(f'Accelerator {accelerator} is not supported. Supported accelerator is "ipex".')
+ raise ValueError(f'Accelerator {accelerator} is not supported. Supported accelerator is {", ".join(MAPPING_LOADING_FUNC)}.')
239
240
if accelerator == "ipex":
241
if task not in list(IPEX_SUPPORTED_TASKS.keys()):
0 commit comments