Skip to content

Commit 06c6761

Browse files
Merge branch 'main' into feature/langchain
2 parents 524b519 + 3992f22 commit 06c6761

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+17679
-895
lines changed

.github/workflows/run-forecast-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
python-version: ["3.8", "3.9", "3.10"]
30+
python-version: ["3.9", "3.10", "3.11"]
3131

3232
steps:
3333
- uses: actions/checkout@v4

.github/workflows/run-operators-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
python-version: ["3.8", "3.9", "3.10", "3.11"]
30+
python-version: ["3.9", "3.10", "3.11"]
3131

3232
steps:
3333
- uses: actions/checkout@v4

THIRD_PARTY_LICENSES.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,11 @@ rrcf
483483
* Source code: https://github.com/kLabUM/rrcf
484484
* Project home: https://github.com/kLabUM/rrcf
485485

486+
Merlion
487+
* Copyright 2021 Salesforce.com Inc
488+
* License: BSD-3 Clause License
489+
* Source code: https://github.com/salesforce/Merlion
490+
* Project Home: https://github.com/salesforce/Merlion
486491

487492
=============================== Licenses ===============================
488493
------------------------------------------------------------------------

ads/aqua/common/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,6 @@ def list_hf_models(query: str) -> List[str]:
10711071
try:
10721072
models = HfApi().list_models(
10731073
model_name=query,
1074-
task="text-generation",
10751074
sort="downloads",
10761075
direction=-1,
10771076
limit=20,

ads/aqua/config/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def get_finetuning_config_defaults():
4040
"VM.GPU.A10.2": {"batch_size": 1, "replica": "1-10"},
4141
"BM.GPU.A10.4": {"batch_size": 1, "replica": 1},
4242
"BM.GPU4.8": {"batch_size": 4, "replica": 1},
43+
"BM.GPU.L40S-NC.4": {"batch_size": 4, "replica": 1},
4344
"BM.GPU.A100-v2.8": {"batch_size": 6, "replica": 1},
4445
"BM.GPU.H100.8": {"batch_size": 6, "replica": 1},
4546
}

ads/aqua/config/deployment_config_defaults.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"VM.GPU.A10.2",
3131
"BM.GPU.A10.4",
3232
"BM.GPU4.8",
33+
"BM.GPU.L40S-NC.4",
3334
"BM.GPU.A100-v2.8",
3435
"BM.GPU.H100.8",
3536
"VM.Standard.A1.Flex"

ads/aqua/config/evaluation/evaluation_service_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def search_shapes(
224224

225225
class Config:
226226
extra = "ignore"
227+
protected_namespaces = ()
227228

228229

229230
class EvaluationServiceConfig(Serializable):

ads/aqua/config/resource_limit_names.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"BM.GPU.A10.4": "ds-gpu-a10-count",
33
"BM.GPU.A100-v2.8": "ds-gpu-a100-v2-count",
44
"BM.GPU.H100.8": "ds-gpu-h100-count",
5+
"BM.GPU.L40S-NC.4": "ds-gpu-l40s-nc-count",
56
"BM.GPU4.8": "ds-gpu4-count",
67
"VM.GPU.A10.1": "ds-gpu-a10-count",
78
"VM.GPU.A10.2": "ds-gpu-a10-count"

ads/aqua/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
LIFECYCLE_DETAILS_MISSING_JOBRUN = "The associated JobRun resource has been deleted."
2828
READY_TO_DEPLOY_STATUS = "ACTIVE"
2929
READY_TO_FINE_TUNE_STATUS = "TRUE"
30+
PRIVATE_ENDPOINT_TYPE = "MODEL_DEPLOYMENT"
3031
AQUA_GA_LIST = ["id19sfcrra6z"]
3132
AQUA_MODEL_TYPE_SERVICE = "service"
3233
AQUA_MODEL_TYPE_CUSTOM = "custom"

ads/aqua/extension/deployment_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def post(self, *args, **kwargs):
102102
ocpus = input_data.get("ocpus")
103103
memory_in_gbs = input_data.get("memory_in_gbs")
104104
model_file = input_data.get("model_file")
105+
private_endpoint_id = input_data.get("private_endpoint_id")
105106

106107
self.finish(
107108
AquaDeploymentApp().create(
@@ -124,6 +125,7 @@ def post(self, *args, **kwargs):
124125
ocpus=ocpus,
125126
memory_in_gbs=memory_in_gbs,
126127
model_file=model_file,
128+
private_endpoint_id=private_endpoint_id,
127129
)
128130
)
129131

0 commit comments

Comments
 (0)