You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clarifai/runners/models/model_builder.py
+17-7Lines changed: 17 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -175,6 +175,7 @@ def __init__(
175
175
platform: Optional[str] =None,
176
176
pat: Optional[str] =None,
177
177
base_url: Optional[str] =None,
178
+
compute_info_required: bool=False,
178
179
):
179
180
"""
180
181
:param folder: The folder containing the model.py, config.yaml, requirements.txt and
@@ -188,6 +189,7 @@ def __init__(
188
189
:param platform: Target platform(s) for Docker image build (e.g., "linux/amd64" or "linux/amd64,linux/arm64"). This overrides the platform specified in config.yaml.
189
190
:param pat: Personal access token for authentication. If None, will use environment variables.
190
191
:param base_url: Base URL for the API. If None, will use environment variables.
192
+
:param compute_info_required: Whether inference compute info is required. This affects certain validation and behavior.
0 commit comments