Skip to content

Commit d52e7b1

Browse files
committed
Fix
Signed-off-by: SimJeg <[email protected]>
1 parent a0b8d34 commit d52e7b1

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

kvpress/presses/compactor_press.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ def __post_init__(self):
7070
compression_ratio=self.compression_ratio, chunk_size=self.chunk_size
7171
)
7272

73-
def post_init_from_model(self, model):
74-
self.press.post_init_from_model(model)
75-
7673
def __setattr__(self, name, value):
7774
object.__setattr__(self, name, value)
7875
if name == "compression_ratio":

kvpress/presses/cur_press.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ class CURPress(ScorerPress):
3232
use_local_approximation: bool = True
3333
local_window_size: int = 16
3434

35-
def post_init_from_model(self, model):
36-
self.press.post_init_from_model(model)
37-
3835
def score(self, module, hidden_states, keys, values, attentions, kwargs):
3936

4037
if self.use_random_leverage:

0 commit comments

Comments
 (0)