MCPcopy Create free account
hub / github.com/modelscope/modelscope / image

Method image

docker/build_image.py:270–273  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

268 return content
269
270 def image(self) -> str:
271 return (
272 f'{docker_registry}:ubuntu{self.args.ubuntu_version}-cuda{self.args.cuda_version}-'
273 f'{self.args.python_tag}-torch{self.args.torch_version}-test')
274
275 def build(self) -> int:
276 return self.run_cmd('docker', 'build',

Callers 2

buildMethod · 0.95
pushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected