Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/tutorials/foundation-model-tabular.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ predictions = future.result() # blocks until the job finishes, returns a Series

## Real-time inference

Deploy the model to a SageMaker endpoint with {py:meth}`~autogluon.cloud.TabularFoundationModel.deploy`, then send requests through the returned {py:class}`~autogluon.cloud.TabularEndpoint`. Pick an `instance_type` based on cost and latency requirements (defaults to `ml.m5.4xlarge` for Mitra and `ml.g5.xlarge` for the other models):
Deploy the model to a SageMaker endpoint with {py:meth}`~autogluon.cloud.TabularFoundationModel.deploy`, then send requests through the returned {py:class}`~autogluon.cloud.TabularEndpoint`. Pick an `instance_type` based on cost and latency requirements (defaults to `ml.g5.xlarge`):

```python
endpoint = model.deploy(instance_type="ml.m5.4xlarge") # takes a few minutes
Expand Down
4 changes: 0 additions & 4 deletions src/autogluon/cloud/model/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ class FoundationModelConfig:
model_source_hyperparameter="hf_cls_model",
inference_hyperparameters={"fine_tune": False},
predict_instance_type="ml.m5.4xlarge",
deploy_instance_type="ml.m5.4xlarge",
),
"mitra-regressor": FoundationModelConfig(
problem_type="regression",
Expand All @@ -111,7 +110,6 @@ class FoundationModelConfig:
model_source_hyperparameter="hf_reg_model",
inference_hyperparameters={"fine_tune": False},
predict_instance_type="ml.m5.4xlarge",
deploy_instance_type="ml.m5.4xlarge",
),
"mitra-v2-classifier": FoundationModelConfig(
problem_type="multiclass",
Expand All @@ -120,7 +118,6 @@ class FoundationModelConfig:
model_source_hyperparameter="hf_cls_model",
inference_hyperparameters={"fine_tune": False},
predict_instance_type="ml.m5.4xlarge",
deploy_instance_type="ml.m5.4xlarge",
min_framework_version="1.6",
),
"mitra-v2-regressor": FoundationModelConfig(
Expand All @@ -130,7 +127,6 @@ class FoundationModelConfig:
model_source_hyperparameter="hf_reg_model",
inference_hyperparameters={"fine_tune": False},
predict_instance_type="ml.m5.4xlarge",
deploy_instance_type="ml.m5.4xlarge",
min_framework_version="1.6",
# Patches AutoGluon's Mitra to run the v2 regression (cross-entropy bin head) checkpoint.
requirements=["mitra-finetune==0.3.0"],
Expand Down
Loading