emanuelaboros commited on
Commit
2201866
·
verified ·
1 Parent(s): 36455c5

Update configuration_stacked.py

Browse files
Files changed (1) hide show
  1. configuration_stacked.py +2 -2
configuration_stacked.py CHANGED
@@ -61,7 +61,7 @@ class ImpressoConfig(PretrainedConfig):
61
  return True
62
 
63
  @classmethod
64
- def patch_ops(self, x, ops):
65
  """
66
  A method required by some Hugging Face utilities to modify operator mappings.
67
  Currently, it performs no operation and is included for compatibility.
@@ -70,7 +70,7 @@ class ImpressoConfig(PretrainedConfig):
70
  Returns:
71
  The (unmodified) ops dictionary.
72
  """
73
- return ops
74
 
75
  def generate_dummy_inputs(self, tokenizer, batch_size=1, seq_length=8, framework="pt"):
76
  """
 
61
  return True
62
 
63
  @classmethod
64
+ def patch_ops(self):
65
  """
66
  A method required by some Hugging Face utilities to modify operator mappings.
67
  Currently, it performs no operation and is included for compatibility.
 
70
  Returns:
71
  The (unmodified) ops dictionary.
72
  """
73
+ return None
74
 
75
  def generate_dummy_inputs(self, tokenizer, batch_size=1, seq_length=8, framework="pt"):
76
  """