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

Method get_instance

bitsandbytes/utils.py:80–83  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

78
79 @classmethod
80 def get_instance(cls):
81 if cls._instance is None:
82 cls._instance = cls.__new__(cls)
83 return cls._instance
84
85
86def find_outlier_dims(weight, reduction_dim=0, zscore=4.0, topk=None, rdm=False):

Callers 3

outlier_hookFunction · 0.45
test_global_configFunction · 0.45

Calls 1

__new__Method · 0.45

Tested by 2

test_global_configFunction · 0.36