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

Method compile_autosp

deepspeed/runtime/engine.py:1675–1677  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

1673 return "z1" in self._config.compile_config.passes or "z3" in self._config.compile_config.passes
1674
1675 def compile_autosp(self):
1676 """Determines if AutoSP is set in deepcompile's passes attributes."""
1677 return "autosp" in (getattr(self._config.compile_config, "passes", None) or [])
1678
1679 def compile_autotp(self):
1680 """Determines if AutoTP is set in deepcompile's passes attributes."""

Calls

no outgoing calls

Tested by

no test coverage detected