executorch icon indicating copy to clipboard operation
executorch copied to clipboard

[Core ML] Implement intermediate tensor logging

Open cymbalrush opened this issue 6 months ago • 2 comments

  • Updated ModelEventLoggerImpl to log intermediate tensor values.
  • Updated sdk_example_runner to build Core ML when specified.
  • Added debugger_cli script to compare intermediate tensor values of a program executed using optimized kernels and delegated to Core ML .

Testing:

  • Ran python examples/apple/coreml/scripts/debugger_cli.py -m softmax to compare intermediate tensors
Screenshot 2024-08-09 at 2 31 27 PM

cymbalrush avatar Aug 06 '24 08:08 cymbalrush