Skip to content

Commit 5f5fa0f

Browse files
Add condition to check instance type
1 parent 7374fd7 commit 5f5fa0f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dlc_developer_config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ deep_canary_mode = false
3737
[build]
3838
# Add in frameworks you would like to build. By default, builds are disabled unless you specify building an image.
3939
# available frameworks - ["base", "vllm", "autogluon", "huggingface_tensorflow", "huggingface_pytorch", "huggingface_tensorflow_trcomp", "huggingface_pytorch_trcomp", "pytorch_trcomp", "tensorflow", "pytorch", "stabilityai_pytorch"]
40-
build_frameworks = []
40+
build_frameworks = ["vllm"]
4141

4242

4343
# By default we build both training and inference containers. Set true/false values to determine which to build.

test/vllm/trigger_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ def run_platform_tests(platform: str, images: List[str], commit_id: str, ipv6_en
1616
"""
1717
Run tests for a specific platform
1818
"""
19-
LOGGER.info(f"Running {platform} tests")
20-
if platform == "ec2":
19+
instance_type = os.getenv("EC2_GPU_INSTANCE_TYPE")
20+
print(f"Running {platform} tests on {instance_type}")
21+
if platform == "ec2" and instance_type == "p4d.24xlarge":
2122
try:
2223
ec2_resources = setup()
2324
print(ec2_resources)

0 commit comments

Comments
 (0)