MCPcopy Create free account
hub / github.com/apple/axlearn / default_config

Method default_config

axlearn/common/quantizer.py:116–122  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

114
115 @classmethod
116 def default_config(cls):
117 cfg: BaseQuantizer.Config = super().default_config()
118 # Do not shard the codebook.
119 # ToDo(zhiyunlu): investigate the codebook partition_spec.
120 cfg.param_partition_spec = (None, None, None)
121 cfg.param_init = REQUIRED
122 return cfg
123
124 def _create_layer_parameter_specs(self) -> dict[str, ParameterSpec]:
125 cfg = self.config

Callers 5

ConfigClass · 0.45
default_configMethod · 0.45
default_configMethod · 0.45
ConfigClass · 0.45
default_configMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected