Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mosaicml/composer
/ _compress_cmd
Method
_compress_cmd
composer/utils/compression.py:67–68 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
65
raise
CompressorNotFound(f
'Could not find command "{self.cmd}" in the PATH.'
)
66
67
def
_compress_cmd(self) -> list[str]:
68
return
[self.cmd]
69
70
@contextmanager
71
def
compress(self, out_filename: str) -> Iterator[IO[bytes]]:
Callers
1
compress
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected