aws / aws/sagemaker-python-sdk
model.deploy to allow for auto scale configuration
- 主要言語
- Python
- スター
- 2.3k
- フォーク
- 1.3k
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 35
説明
**Describe the feature you'd like**
today we deploy a model like so:
```python
model = SKLearn(
entry_point=script_path,
framework_version="0.20.0",
py_version="py3",
instance_type="ml.m5.2xlarge",
role=role,
sagemaker_session=sagemaker_session,
dependencies=[...],
)
predictor = model.deploy(
endpoint_name="some_name",
initial_instance_count=1,
instance_type="ml.m5.large",
predictor_cls=SKLearnPredictorJson,
)
```
**How would this feature be used? Please describe.**
When calling `model.deploy` it would be ideal if there was a way to set an autoscale policy (similar to how we can set `initial_instance_count`).
**Describe alternatives you've considered**
I'm still researching if I can use `SKLearn` class while also using boto3 to attach a policy.
コントリビューションガイド
調査の方向性
model.deploy エントリポイントと SKLearn モデルの実装から始め、次に issue で言及されている boto3 の代替案を確認します。サポートされている autoscaling ポリシー設定とその API の形を特定します。完了の条件は、呼び出し元がモデルのデプロイ時に autoscaling を設定でき、その動作が関連するテストでカバーされていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, machine-learning, python
- 領域
- cloud, machine-learning
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100