Skip to content

Commit 4effaa4

Browse files
Update optimum/intel/pipelines/pipeline_base.py
Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
1 parent 6d4726b commit 4effaa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/intel/pipelines/pipeline_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def pipeline(
235235
)
236236

237237
if accelerator not in MAPPING_LOADING_FUNC:
238-
raise ValueError(f'Accelerator {accelerator} is not supported. Supported accelerator is "ipex".')
238+
raise ValueError(f'Accelerator {accelerator} is not supported. Supported accelerator is {", ".join(MAPPING_LOADING_FUNC)}.')
239239

240240
if accelerator == "ipex":
241241
if task not in list(IPEX_SUPPORTED_TASKS.keys()):

0 commit comments

Comments
 (0)