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

Allow specifying exec_time_optimization_effort and memory_fitting_effort via CLI. #24715

Open
golechwierowicz opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@golechwierowicz
Copy link
Contributor

New compiler options (see title) have recently been exposed in JAX.

To use them users have to change their Python code like this:

jax.jit(f, compiler_options={
  "exec_time_optimization_effort": 0.5, # change here
 })

It would be very convenient to not modify the code but rely on CLI instead. For example:

JAX_EXEC_TIME_OPTIMIZATION_EFFORT=0.5 python3 jax_program.py
@golechwierowicz golechwierowicz added the enhancement New feature or request label Nov 5, 2024
@mattjj mattjj self-assigned this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants