MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / __init__

Method __init__

lit_gpt/utils_old.py:46–47  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

44 # Use a class instead `functools.partial` to respect `isinstance` checks and attribute accesses
45 class QuantizedLinear(Linear4bit):
46 def __init__(self, *args, **kwargs):
47 super().__init__(*args, quant_type="fp4", compress_statistics=False, **kwargs)
48
49 quantized_linear_cls = QuantizedLinear
50 elif mode == "bnb.fp4-dq":

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected