Skip to content

Commit 97345b0

Browse files
committed
merge dregs
1 parent 3da59a0 commit 97345b0

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/compressed_tensors/transform/factory/base.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,9 @@ def input_hook(_, args):
145145
raise ValueError("Offloaded training is not supported")
146146
P.register_parametrization(module, "weight", transform)
147147

148-
<<<<<<< HEAD
149148
else:
150149
# transform is no longer needed (unfusing is not supported)
151150
delete_offload_module(module, transform_name)
152-
=======
153-
# transform is no longer needed (unfusing is not supported)
154-
delete_offload_module(module, transform_name)
155-
>>>>>>> origin
156151

157152
# register output transformation hook
158153
elif args.location == TransformLocation.OUTPUT:
@@ -166,7 +161,6 @@ def output_hook(_, _input, output):
166161
else:
167162
raise NotImplementedError()
168163

169-
<<<<<<< HEAD
170164
def _update_tied_weights(self):
171165
"""
172166
Populate the `_dynamic_tied_weights_keys` attribute of transforms,
@@ -195,8 +189,6 @@ def _update_tied_weights(self):
195189
for transform, name in shared_keys:
196190
transform._dynamic_tied_weights_keys.append(name)
197191
setattr(transform, name, tensor)
198-
=======
199-
>>>>>>> origin
200192

201193
class TransformBase(InternalModule, ABC):
202194
"""

tests/test_transform/factory/test_correctness.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
apply_transform_config,
2323
)
2424
from compressed_tensors.utils import offloaded_dispatch
25-
from tests.test_transform.conftest import scheme_kwargs
2625
from tests.testing_utils import requires_accelerate, requires_gpu
2726

2827

0 commit comments

Comments
 (0)