Skip to content

Commit

Permalink
Add compiler_options argument to jax.jit.
Browse files Browse the repository at this point in the history
This exists on `Compiled` object via AOT too i.e. `jit(f).lower(*args).compile(compiler_options={})`

PiperOrigin-RevId: 692283964
Change-Id: I7d2431b3b372305d574e0c0322a85e027da55ec6
  • Loading branch information
yashk2810 authored and copybara-github committed Nov 1, 2024
1 parent 26afd33 commit dd76399
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions saxml/server/jax/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def deserialize_pjitted_function(
serialized.ir,
(False,) * num_ins,
(backend.platform,),
(),
in_shardings=in_shardings,
out_shardings=(rep_sharding,) * num_outs,
global_in_avals=serialized.flat_global_in_avals,
Expand Down

0 comments on commit dd76399

Please sign in to comment.