SIGN IN SIGN UP

Add null runtime check for XNNExecutor::prepare_args (#9265)

### Summary
Fixes https://github.com/pytorch/executorch/issues/9131

In the event that an XNNPACK-delegated model is freed right when
inference happens, `XNNExecutor::prepare_args` can crash accessing the
runtime. Hence we need to check for null runtime for it, similar to what
we are already doing for `XNNExecutor::forward`.

### Test plan
Pass all CI/CD.
Z
Zhenyan Zhang (Meta) committed
b8a0eddad94775ac7f76cfe5b7297622435a861a
Parent: 8c32da7
Committed by GitHub <noreply@github.com> on 3/18/2025, 7:00:21 AM