|
218 | 218 | "ml.g4dn.12xlarge", |
219 | 219 | ], |
220 | 220 | }, |
| 221 | + "mock-model-training-prepacked-script-key": { |
| 222 | + "model_id": "sklearn-classification-linear", |
| 223 | + "url": "https://scikit-learn.org/stable/", |
| 224 | + "version": "1.0.0", |
| 225 | + "min_sdk_version": "2.68.1", |
| 226 | + "training_supported": True, |
| 227 | + "incremental_training_supported": False, |
| 228 | + "hosting_ecr_specs": { |
| 229 | + "framework": "sklearn", |
| 230 | + "framework_version": "0.23-1", |
| 231 | + "py_version": "py3", |
| 232 | + }, |
| 233 | + "hosting_artifact_key": "sklearn-infer/infer-sklearn-classification-linear.tar.gz", |
| 234 | + "hosting_script_key": "source-directory-tarballs/sklearn/inference/classification/v1.0.0/sourcedir.tar.gz", |
| 235 | + "inference_vulnerable": False, |
| 236 | + "inference_dependencies": [], |
| 237 | + "inference_vulnerabilities": [], |
| 238 | + "training_vulnerable": False, |
| 239 | + "training_dependencies": [], |
| 240 | + "training_vulnerabilities": [], |
| 241 | + "deprecated": False, |
| 242 | + "hyperparameters": [ |
| 243 | + { |
| 244 | + "name": "tol", |
| 245 | + "type": "float", |
| 246 | + "default": 0.0001, |
| 247 | + "min": 1e-20, |
| 248 | + "max": 50, |
| 249 | + "scope": "algorithm", |
| 250 | + }, |
| 251 | + { |
| 252 | + "name": "penalty", |
| 253 | + "type": "text", |
| 254 | + "default": "l2", |
| 255 | + "options": ["l1", "l2", "elasticnet", "none"], |
| 256 | + "scope": "algorithm", |
| 257 | + }, |
| 258 | + { |
| 259 | + "name": "alpha", |
| 260 | + "type": "float", |
| 261 | + "default": 0.0001, |
| 262 | + "min": 1e-20, |
| 263 | + "max": 999, |
| 264 | + "scope": "algorithm", |
| 265 | + }, |
| 266 | + { |
| 267 | + "name": "l1_ratio", |
| 268 | + "type": "float", |
| 269 | + "default": 0.15, |
| 270 | + "min": 0, |
| 271 | + "max": 1, |
| 272 | + "scope": "algorithm", |
| 273 | + }, |
| 274 | + { |
| 275 | + "name": "sagemaker_submit_directory", |
| 276 | + "type": "text", |
| 277 | + "default": "/opt/ml/input/data/code/sourcedir.tar.gz", |
| 278 | + "scope": "container", |
| 279 | + }, |
| 280 | + { |
| 281 | + "name": "sagemaker_program", |
| 282 | + "type": "text", |
| 283 | + "default": "transfer_learning.py", |
| 284 | + "scope": "container", |
| 285 | + }, |
| 286 | + { |
| 287 | + "name": "sagemaker_container_log_level", |
| 288 | + "type": "text", |
| 289 | + "default": "20", |
| 290 | + "scope": "container", |
| 291 | + }, |
| 292 | + ], |
| 293 | + "training_script_key": "source-directory-tarballs/sklearn/transfer_learning/classification/" |
| 294 | + "v1.0.0/sourcedir.tar.gz", |
| 295 | + "training_prepacked_script_key": "some/key/to/training_prepacked_script_key.tar.gz", |
| 296 | + "training_ecr_specs": { |
| 297 | + "framework_version": "0.23-1", |
| 298 | + "framework": "sklearn", |
| 299 | + "py_version": "py3", |
| 300 | + }, |
| 301 | + "training_artifact_key": "sklearn-training/train-sklearn-classification-linear.tar.gz", |
| 302 | + "inference_environment_variables": [ |
| 303 | + { |
| 304 | + "name": "SAGEMAKER_PROGRAM", |
| 305 | + "type": "text", |
| 306 | + "default": "inference.py", |
| 307 | + "scope": "container", |
| 308 | + }, |
| 309 | + { |
| 310 | + "name": "SAGEMAKER_SUBMIT_DIRECTORY", |
| 311 | + "type": "text", |
| 312 | + "default": "/opt/ml/model/code", |
| 313 | + "scope": "container", |
| 314 | + }, |
| 315 | + { |
| 316 | + "name": "SAGEMAKER_CONTAINER_LOG_LEVEL", |
| 317 | + "type": "text", |
| 318 | + "default": "20", |
| 319 | + "scope": "container", |
| 320 | + }, |
| 321 | + { |
| 322 | + "name": "MODEL_CACHE_ROOT", |
| 323 | + "type": "text", |
| 324 | + "default": "/opt/ml/model", |
| 325 | + "scope": "container", |
| 326 | + }, |
| 327 | + {"name": "SAGEMAKER_ENV", "type": "text", "default": "1", "scope": "container"}, |
| 328 | + { |
| 329 | + "name": "SAGEMAKER_MODEL_SERVER_WORKERS", |
| 330 | + "type": "text", |
| 331 | + "default": "1", |
| 332 | + "scope": "container", |
| 333 | + }, |
| 334 | + { |
| 335 | + "name": "SAGEMAKER_MODEL_SERVER_TIMEOUT", |
| 336 | + "type": "text", |
| 337 | + "default": "3600", |
| 338 | + "scope": "container", |
| 339 | + }, |
| 340 | + ], |
| 341 | + }, |
221 | 342 | } |
222 | 343 |
|
223 | 344 |
|
|
1302 | 1423 | "training_artifact_key": "pytorch-training/train-pytorch-ic-mobilenet-v2.tar.gz", |
1303 | 1424 | "hosting_script_key": "source-directory-tarballs/pytorch/inference/ic/v1.0.0/sourcedir.tar.gz", |
1304 | 1425 | "training_script_key": "source-directory-tarballs/pytorch/transfer_learning/ic/v1.0.0/sourcedir.tar.gz", |
| 1426 | + "training_prepacked_script_key": None, |
1305 | 1427 | "hosting_prepacked_artifact_key": None, |
1306 | 1428 | "hyperparameters": [ |
1307 | 1429 | { |
|
0 commit comments