Skip to content

Commit 8bb857f

Browse files
authored
feat: JumpStart alternative config parsing (#4566)
* add alternative config parsing * rename a few functions * refactor based on new mock * remove commented files * add interfaces and utils * various fixes and add some tests * add more tests * address comments * swap presets with configs * fix: docstyle * fix: doc * fix: docstyle * updates * typing
1 parent 2f44975 commit 8bb857f

File tree

9 files changed

+1414
-22
lines changed

9 files changed

+1414
-22
lines changed

src/sagemaker/jumpstart/enums.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,9 @@ def from_suffixed_type(mime_type_with_suffix: str) -> "MIMEType":
124124
"""Removes suffix from type and instantiates enum."""
125125
base_type, _, _ = mime_type_with_suffix.partition(";")
126126
return MIMEType(base_type)
127+
128+
129+
class JumpStartConfigRankingName(str, Enum):
130+
"""Enum class for ranking of JumpStart config."""
131+
132+
DEFAULT = "overall"

0 commit comments

Comments
 (0)