File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
fiddle/_src/codegen/auto_config Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 2525from fiddle ._src .codegen .auto_config import make_symbolic_references
2626from fiddle ._src .codegen .auto_config import shared_to_variables
2727from fiddle ._src .codegen .auto_config import test_fixtures
28- import jax .sharding
2928import libcst as cst
3029
3130
@@ -76,15 +75,6 @@ def test_code_for_positional_arg_call(self):
7675 "self.foo(123.4, bar=self.bar)" ,
7776 )
7877
79- def test_code_for_expr_jax_partition_spec (self ):
80- """This is a very weird overridden tuple."""
81- value = jax .sharding .PartitionSpec ("data" )
82- with self .assertRaisesRegex (
83- TypeError ,
84- r"Failed to map.*PartitionSpec.*subclasses list or tuple.*" ,
85- ):
86- ir_to_cst .code_for_expr (value )
87-
8878 def test_basic_ir (self ):
8979 task = test_fixtures .simple_ir ()
9080 make_symbolic_references .import_symbols (task )
You can’t perform that action at this time.
0 commit comments