Skip to content

Add metrics to inspect output drift and equivalent tests #97

Description

@0xShug0

Great work! Since you shared the conversion script, I'd suggest adding metrics and equivalence tests to compare output drift between the Core ML models and PyTorch eager mode. This would help quantify numerical differences introduced during conversion and catch regressions early. I have been looking at this but only at module level (https://opdiff.com/). A key takeaway is that just because the Core ML model runs doesn’t mean it works as expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions