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

Method code

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

Source from the content-addressed store, hash-verified

277
278 @property
279 def code(self):
280 qs = self.__dict__.get("quant_state")
281 if qs is not None:
282 return qs.code
283 raise AttributeError(f"'{type(self).__name__}' object has no attribute 'code'")
284
285 @property
286 def quant_map(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected