How to time code in mlx in order to optimize performance and how to measure memory consumption? #1787
Unanswered
kyrollosyanny
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I wanted to time different parts of my code to see where the bottleneck is. Given that mlx only executes when an
eval
is invoked, Im finding it hard trusting the timing numbers. I was wondering what the best practices for timing is.In addition, I was wondering if there is a recommended way to measure memory consumption of code.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions