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.
| 134 | |
| 135 | @define |
| 136 | class 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 | |
| 153 | class AttrsToQueryString(ABC): |
no outgoing calls
no test coverage detected
searching dependent graphs…