deepsparse
deepsparse copied to clipboard
Better legacy failure warning
In case someone fails to create the V2 pipeline, I think it's helpful to print the error.
You can't have the word error in your warning
Oh, I see. What words are allowed? Can I say "failed with"?
@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