Skip to content

Commit

Permalink
remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
GleasonK committed May 22, 2024
1 parent cd470bc commit 9e22442
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion experimental/torch_xla2/test/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ def test_export_dtypes(self):
## jnp.tensor(dtype=None) maps to f64
continue
arg = (torch.randn(10).to(torch_dtype),)
print(arg)
with torch.no_grad():
exported = torch.export.export(model, arg)
stablehlo = torch_xla2.export.exported_program_to_stablehlo(exported)
Expand Down
2 changes: 0 additions & 2 deletions experimental/torch_xla2/test/test_symbolic_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def test_constraints_multiply(self):
self.assertRegex(module_str, r"shape_assertion.*s[0-9]+ <= 10")
self.assertRegex(module_str, r"stablehlo.constant.*2")
self.assertRegex(module_str, r"shape_assertion.*2\*s[0-9]+")
print(stablehlo.mlir_module())

def test_constraint_indirection(self):
"""Test a model where none of the shapes are directly symbolic variables
Expand All @@ -90,5 +89,4 @@ def test_constraint_indirection(self):

self.assertRegex(module_str, r"shape_assertion.*s[0-9]+ <= 10")
self.assertRegex(module_str, r"shape_assertion.*2\*s[0-9]+")
print(stablehlo.mlir_module())

0 comments on commit 9e22442

Please sign in to comment.