MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / compile_autosp

Method compile_autosp

deepspeed/runtime/engine.py:1622–1624  ·  view source on GitHub ↗

Determines if AutoSP is set in deepcompile's passes attributes.

(self)

Source from the content-addressed store, hash-verified

1620 return "z1" in self._config.compile_config.passes or "z3" in self._config.compile_config.passes
1621
1622 def compile_autosp(self):
1623 """Determines if AutoSP is set in deepcompile's passes attributes."""
1624 return "autosp" in (getattr(self._config.compile_config, "passes", None) or [])
1625
1626 def compile_autotp(self):
1627 """Determines if AutoTP is set in deepcompile's passes attributes."""

Calls

no outgoing calls

Tested by

no test coverage detected