File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -517,7 +517,9 @@ def build_executorch_binary(
517517 qnn_config .backend == QnnExecuTorchBackendType .kGpuBackend
518518 and not qnn_config .online_prepare
519519 ):
520- raise RuntimeError ("Currently GPU backend only supports online_prepare." )
520+ raise RuntimeError (
521+ "Currently GPU backend only supports online_prepare. Please add --online_prepare flag."
522+ )
521523 if (
522524 qnn_config .backend == QnnExecuTorchBackendType .kLpaiBackend
523525 and qnn_config .online_prepare
Original file line number Diff line number Diff line change @@ -9002,7 +9002,6 @@ def setup_environment():
90029002 )
90039003
90049004 args , ns_args = parser .parse_known_args (namespace = unittest )
9005- args .validate (args )
90069005 TestQNN .host = args .host
90079006 TestQNN .device = args .device
90089007 TestQNN .soc_model = args .soc_model
You can’t perform that action at this time.
0 commit comments