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 @@ -8984,7 +8984,6 @@ def setup_environment():
89848984 )
89858985
89868986 args , ns_args = parser .parse_known_args (namespace = unittest )
8987- args .validate (args )
89888987 TestQNN .host = args .host
89898988 TestQNN .device = args .device
89908989 TestQNN .soc_model = args .soc_model
You can’t perform that action at this time.
0 commit comments