fguzman82 / CoreMLProfiler

Tool for visual profiling Core ML models, compatible with both package and compiled versions, including reasons for unsupported operations on the Neural Engine
MIT License
8 stars 0 forks source link

Column "validationMessages" not present #1

Open kinghchan opened 2 weeks ago

kinghchan commented 2 weeks ago

This is a great tool, thanks for making this open source!

I noticed that row["validationMessages"] now throws an error. The line of code is located at ContentView.swift:388

I believe that is because the code is unable to find analytics.mil.

Are ANE validation messages only available on some systems?

I am running MacBook Pro 15 M1 Max, MacOS version 14.4.1. My Xcode is version 15.4.

Thank you!

kinghchan commented 2 weeks ago

Ah, it looks like it's this line causing the issue: let additionalPath = currentPath + "/Library/Caches/com.fguzman82.CoreMLProfiler/com.apple.e5rt.e5bundlecache" inside CoreMLProcessor.swift

kinghchan commented 2 weeks ago

It looks like the validation message is not present in the analytics.mil file for a profile I just ran

I profiled the AudioEncoder.mlmodelc from this repo: https://huggingface.co/argmaxinc/whisperkit-coreml/tree/main/openai_whisper-tiny.

May I know what version of MacOS you used to get the validation message?

Thank you!