generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 525
v1: sglang ec2 #5595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DevakiBolleneni
wants to merge
45
commits into
aws:master
Choose a base branch
from
DevakiBolleneni:sgl-ec2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
v1: sglang ec2 #5595
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
4b9ca2f
sglang ec2
c0f056d
add ec2 in docker file
9ffd708
add ec2 entrypoint
5818fb4
add buildspec ec2
f6b9775
add tests
4e848f8
modify tests
3d2204f
fix formatting
341e551
run
220180a
fix cuda compat
54cb7f2
add sglang framework
a0a4e03
fix
480ed98
skip telemetry
be65b0e
fix tests
fa736ac
fix tests
fa98c05
fix
7dc98fb
fix tests
06cb7fc
fix upstream tests
8f426b1
fix hf token
0e41e99
fix
eb7c7a7
fix
96a7921
fix
2879dbe
fix
76555c1
fix
12c9975
fix
18808af
rerun sglang ec2 tests
032bbe3
skip telemetry tests
2794a34
skip telemetry tests
e00d836
skip telemetry tests
7bfba04
skip telemetry tests
cd59194
skip telemetry tests
c6461aa
skip telemetry tests
1552199
skip telemetry tests
2891306
skip telemetry tests
8d14b8c
skip telemetry tests
1598854
skip telemetry tests
aac8ca2
rerun to debug
0c9a6cd
skip telemetry tests
2bdc82e
skip logic for telemetry tests
2186229
skip logic for telemetry tests
a2635f3
change skip logic
8b283f5
change skip logic
b1df749
change skip logic
e8bb0ee
add pytest filter to exclude telemetry marked tests in ec2 test suite
7825388
add pytest filter to exclude telemetry marked tests in ec2 test suite
2a8460a
raise error for hf_token if not found
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| #!/usr/bin/env bash | ||
| # Check if telemetry file exists before executing | ||
| # Execute telemetry script if it exists, suppress errors | ||
| bash /usr/local/bin/bash_telemetry.sh >/dev/null 2>&1 || true | ||
|
|
||
| python3 -m sglang.launch_server "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| account_id: &ACCOUNT_ID <set-$ACCOUNT_ID-in-environment> | ||
| prod_account_id: &PROD_ACCOUNT_ID 763104351884 | ||
| region: ®ION <set-$REGION-in-environment> | ||
| framework: &FRAMEWORK sglang | ||
| version: &VERSION "0.5.6" | ||
| short_version: &SHORT_VERSION "0.5" | ||
| arch_type: &ARCH_TYPE x86_64 | ||
| autopatch_build: "False" | ||
|
|
||
| repository_info: | ||
| build_repository: &BUILD_REPOSITORY | ||
| image_type: &IMAGE_TYPE gpu | ||
| root: . | ||
| repository_name: &REPOSITORY_NAME !join [ pr, "-", *FRAMEWORK ] | ||
| repository: &REPOSITORY !join [ *ACCOUNT_ID, .dkr.ecr., *REGION, .amazonaws.com/, *REPOSITORY_NAME ] | ||
| release_repository_name: &RELEASE_REPOSITORY_NAME !join [ *FRAMEWORK ] | ||
| release_repository: &RELEASE_REPOSITORY !join [ *PROD_ACCOUNT_ID, .dkr.ecr., *REGION, .amazonaws.com/, *RELEASE_REPOSITORY_NAME ] | ||
|
|
||
| context: | ||
| build_context: &BUILD_CONTEXT | ||
| deep_learning_container: | ||
| source: src/deep_learning_container.py | ||
| target: deep_learning_container.py | ||
| install_efa: | ||
| source: scripts/install_efa.sh | ||
| target: install_efa.sh | ||
| start_cuda_compat: | ||
| source: sglang/build_artifacts/start_cuda_compat.sh | ||
| target: start_cuda_compat.sh | ||
| sagemaker_entrypoint: | ||
| source: sglang/build_artifacts/dockerd_entrypoint.sh | ||
| target: dockerd_entrypoint.sh | ||
|
|
||
| images: | ||
| sglang_ec2: | ||
| <<: *BUILD_REPOSITORY | ||
| context: | ||
| <<: *BUILD_CONTEXT | ||
| image_size_baseline: 26000 | ||
| device_type: &DEVICE_TYPE gpu | ||
| cuda_version: &CUDA_VERSION cu129 | ||
| python_version: &DOCKER_PYTHON_VERSION py3 | ||
| tag_python_version: &TAG_PYTHON_VERSION py312 | ||
| os_version: &OS_VERSION ubuntu22.04 | ||
| tag: !join [ *VERSION, "-", *DEVICE_TYPE, "-", *TAG_PYTHON_VERSION, "-", *CUDA_VERSION, "-", *OS_VERSION, "-ec2" ] | ||
| latest_release_tag: !join [ *VERSION, "-", *DEVICE_TYPE, "-", *TAG_PYTHON_VERSION, "-", *CUDA_VERSION, "-", *OS_VERSION, "-ec2" ] | ||
| skip_build: "False" | ||
| docker_file: !join [ *FRAMEWORK, /, *ARCH_TYPE, /, *DEVICE_TYPE, /Dockerfile ] | ||
| target: sglang-ec2 | ||
| build: true | ||
| enable_common_stage_build: false | ||
| test_configs: | ||
| test_platforms: | ||
| - sanity | ||
| - security | ||
| - ec2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| buildspec_pointer: buildspec-sm.yml | ||
| buildspec_pointer: buildspec-ec2.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.