MCPcopy Create free account
hub / github.com/AI-Hypercomputer/maxtext / _apply_rules

Function _apply_rules

src/MaxText/pyconfig.py:71–74  ·  view source on GitHub ↗
(base_rules, new_rules, config)

Source from the content-addressed store, hash-verified

69
70
71def _apply_rules(base_rules, new_rules, config):
72 if config.get("override_logical_axis_rules"):
73 return new_rules
74 return _merge_logical_axis_rules(base_rules, new_rules)
75
76
77def _load_config(config_name: str) -> omegaconf.DictConfig:

Callers 1

initialize_pydanticFunction · 0.85

Calls 1

Tested by

no test coverage detected