Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register-level FLOPS counting in JAX programs ? #836

Open
mitkotak opened this issue May 18, 2024 · 1 comment
Open

Register-level FLOPS counting in JAX programs ? #836

mitkotak opened this issue May 18, 2024 · 1 comment
Assignees

Comments

@mitkotak
Copy link

Hey I am on the hunt for a FLOPS counter that can count up the ADD/MUL happening at the register level since JAX's FLOP counter can be unreliable. I was wondering whether there's any way to do this using nsys-jax.

If yes, then is there a way to set up nsys-jax up outside a docker container i.e are there a list of instructions that I can send to my sysadmin to help them set it up ?

Thanks !

@mitkotak
Copy link
Author

Just wanted to share an update. What I have been doing so far is running ncu and then counting up the FLOPS using instructions similar to here but as you can imagine, its extremely tedious to run.
Are there any alternatives out there that would be useful particularly for ML pipelines ? I am also open to some form of XLA/HLO level tracer.

Thanks for your input !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants