MCPcopy Create free account
hub / github.com/bitsandbytes-foundation/bitsandbytes / quant_map

Method quant_map

bitsandbytes/nn/modules.py:286–290  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

284
285 @property
286 def quant_map(self):
287 qs = self.__dict__.get("quant_state")
288 if qs is not None:
289 return qs.code
290 raise AttributeError(f"'{type(self).__name__}' object has no attribute 'quant_map'")
291
292 @property
293 def offset(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected