- API change: - in [LlmCallback](https://github.com/pytorch/executorch/pull/10247/files#diff-6087fbe8f1bbc4b9aa5fdb7e8512b009ab0cb9c36dfe3aef6de6a3142002e2bbR51), `public void onStats(float tps)` -> `public void onStats(String tps) `, where it's a json. You can calculate the tps like https://github.com/pytorch/executorch/blob/e609943eeda04f966aea174f460309cbf22e3913/extension/benchmark/android/benchmark/app/src/main/java/org/pytorch/minibench/LlmBenchmarkActivity.java#L86-L94
public void onStats(float tps)->public void onStats(String tps), where it's a json. You can calculate the tps like https://github.com/pytorch/executorch/blob/e609943eeda04f966aea174f460309cbf22e3913/extension/benchmark/android/benchmark/app/src/main/java/org/pytorch/minibench/LlmBenchmarkActivity.java#L86-L94