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

Class DeployServiceParameters

modelscope/hub/deploy.py:136–150  ·  view source on GitHub ↗

Deploy service parameters Args: instance_name: the name of the service. model_id: the modelscope model_id revision: the modelscope model revision resource: the resource requirement. provider: the cloud service provider.

Source from the content-addressed store, hash-verified

134
135@define
136class DeployServiceParameters(object):
137 """Deploy service parameters
138
139 Args:
140 instance_name: the name of the service.
141 model_id: the modelscope model_id
142 revision: the modelscope model revision
143 resource: the resource requirement.
144 provider: the cloud service provider.
145 """
146 instance_name: str
147 model_id: str
148 revision: str
149 resource: ServiceResourceConfig
150 provider: ServiceProviderParameters
151
152
153class AttrsToQueryString(ABC):

Callers 1

createMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…