Skip to content

Commit

Permalink
Add symbolic dynamic shapes to export (#385)
Browse files Browse the repository at this point in the history
Symbolic dynamic shapes are required for some of the linalg_ext tiling
behavior. Added them within the symbolic shape support.
  • Loading branch information
rsuderman authored Oct 30, 2024
1 parent d3b0681 commit 560e618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sharktank/sharktank/examples/export_paged_llm_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def _(
print(f"EXPORT {name}:\n{ep}")

print("Exporting")
output = export(fxb)
output = export(fxb, import_symbolic_shape_expressions=True)
print(f"Saving to '{args.output_mlir}'")
output.save_mlir(args.output_mlir)
json.dump(config, open(args.output_config, "w"))
Expand Down

0 comments on commit 560e618

Please sign in to comment.