@@ -293,20 +293,20 @@ def symbolize_data_input_dims(
293293 Returns new DynamicDimConstraints if success.
294294 Returns None if no symbolicable dim .
295295 """
296- unqiue_dims = []
296+ unique_dims = []
297297 dim2axes = {}
298298
299299 def dumpy_filter_fn (input_name , input_idx , axis , dim ):
300300 if is_data_input (input_name ):
301301 print ("data_input" , input_name , input_idx , axis , dim )
302- if dim not in unqiue_dims :
303- unqiue_dims .append (dim )
302+ if dim not in unique_dims :
303+ unique_dims .append (dim )
304304 dim2axes [dim ] = []
305305 dim2axes [dim ].append (axis )
306306 # No symbolization by returning False
307307 return False
308308
309- # Collect input dimensions into `unqiue_dims `
309+ # Collect input dimensions into `unique_dims `
310310 assert dyn_dim_cstr .symbolize (dumpy_filter_fn ) is None
311311 total_dim_gen_pass_names = ()
312312
@@ -323,7 +323,7 @@ def append_dim_gen_pass_names(dim_gen_pass_names):
323323 ]
324324 )
325325
326- for i , picked_dim in enumerate (unqiue_dims ):
326+ for i , picked_dim in enumerate (unique_dims ):
327327 logging .warning (f"{ i = } { picked_dim = } " )
328328 cur_dyn_dim_cstr = copy .deepcopy (dyn_dim_cstr )
329329
@@ -341,7 +341,7 @@ def filter_fn(input_name, input_idx, axis, dim):
341341 if not cur_dyn_dim_cstr .check_delta_symbol2example_value (sym2example_value ):
342342 continue
343343 dim_axes_pairs = tuple (
344- (dim , axes ) for dim in unqiue_dims [: i + 1 ] for axes in [dim2axes [dim ]]
344+ (dim , axes ) for dim in unique_dims [: i + 1 ] for axes in [dim2axes [dim ]]
345345 )
346346 ctx_mgr = dyn_dim_cstr_feasibility_ctx_mgr
347347 logging .warning ("before dyn_dim_cstr_feasibility_ctx_mgr" )
0 commit comments