MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / get_quantize_enabled

Function get_quantize_enabled

deepspeed/compression/config.py:56–62  ·  view source on GitHub ↗
(param_dict)

Source from the content-addressed store, hash-verified

54
55
56def get_quantize_enabled(param_dict):
57 if COMPRESSION_TRAINING not in param_dict.keys():
58 return False
59
60 sub_param_dict = param_dict[COMPRESSION_TRAINING]
61 output = get_weight_quantization_shared_parameters(sub_param_dict)
62 return output[WEIGHT_QUANTIZE_ENABLED]
63
64
65def get_weight_quantization(param_dict):

Callers 1

get_eigenvalue_configFunction · 0.85

Tested by

no test coverage detected