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

Method image

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

Source from the content-addressed store, hash-verified

387 return self._remove_pynini_related_dependency(content)
388
389 def image(self) -> str:
390 return (
391 f'{docker_registry}:ubuntu{self.args.ubuntu_version}-cuda{self.args.cuda_version}-'
392 f'{self.args.python_tag}-torch{self.args.torch_version}-{self.args.modelscope_version}-test'
393 )
394
395 def build(self) -> int:
396 return self.run_cmd('docker', 'build', '-t', self.image(), '-f',

Callers 2

buildMethod · 0.95
pushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected