deepsparse icon indicating copy to clipboard operation
deepsparse copied to clipboard

Better legacy failure warning

Open ProExpertProg opened this issue 1 year ago • 3 comments

In case someone fails to create the V2 pipeline, I think it's helpful to print the error.

ProExpertProg avatar Jan 30 '24 18:01 ProExpertProg

You can't have the word error in your warning

dsikka avatar Jan 30 '24 19:01 dsikka

Oh, I see. What words are allowed? Can I say "failed with"?

ProExpertProg avatar Jan 30 '24 19:01 ProExpertProg

@ProExpertProg you're currently failing this test: https://github.com/neuralmagic/deepsparse/blob/e29211c95b75ff19e0bf0c65a26b6044ba51bf80/tests/test_pipeline_benchmark.py#L89

Which checks for error and fail

dsikka avatar Jan 30 '24 19:01 dsikka