Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions autoparallel/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,6 @@ def build_model_graph(self):
ep.module(),
inputs,
decompositions=decomp_table,
fw_compiler=self.compiler_fn,
bw_compiler=self.compiler_fn,
)
gm = self.joint_with_descriptors.graph_module
assert_has_no_collectives(gm)
Expand Down Expand Up @@ -454,7 +452,9 @@ def apply_placement(self, sharding_placement=None):
)

self.parallel_model_fn = parallel_model_fn = aot_compile_joint_with_descriptors(
self.joint_with_descriptors
self.joint_with_descriptors,
fw_compiler=self.compiler_fn,
bw_compiler=self.compiler_fn,
)

# TODO: this probably belongs in the AOTAutograd API
Expand Down