Commit bfd737b
feat: Port SGLang from v1 to v2 (#5484)
* Improve vLLM workflows (#5480)
* combinr workflow for vllm
Signed-off-by: sirutBuasai <[email protected]>
* formatting
Signed-off-by: sirutBuasai <[email protected]>
* fix region
Signed-off-by: sirutBuasai <[email protected]>
* fix artifacts path
Signed-off-by: sirutBuasai <[email protected]>
* isntall dependencies
Signed-off-by: sirutBuasai <[email protected]>
* reverse order
Signed-off-by: sirutBuasai <[email protected]>
* add port
Signed-off-by: sirutBuasai <[email protected]>
* move scripts into their separate dir
Signed-off-by: sirutBuasai <[email protected]>
* change port
Signed-off-by: sirutBuasai <[email protected]>
* style: format pre-commit check
Signed-off-by: sirutBuasai <[email protected]>
* chore: run test choices
Signed-off-by: sirutBuasai <[email protected]>
* remove commitizen
Signed-off-by: sirutBuasai <[email protected]>
* use main branch
Signed-off-by: sirutBuasai <[email protected]>
* fix dir
Signed-off-by: sirutBuasai <[email protected]>
* run benchmark sglang
Signed-off-by: sirutBuasai <[email protected]>
* ac run container id instead
Signed-off-by: sirutBuasai <[email protected]>
* add port and host
Signed-off-by: sirutBuasai <[email protected]>
* use composite action
Signed-off-by: sirutBuasai <[email protected]>
* input secrets
Signed-off-by: sirutBuasai <[email protected]>
* use shell bash
Signed-off-by: sirutBuasai <[email protected]>
* remove interactive
Signed-off-by: sirutBuasai <[email protected]>
* logs tail 200
Signed-off-by: sirutBuasai <[email protected]>
* add sleep
Signed-off-by: sirutBuasai <[email protected]>
* add cleanup
Signed-off-by: sirutBuasai <[email protected]>
* remove -it
Signed-off-by: sirutBuasai <[email protected]>
* fix names
Signed-off-by: sirutBuasai <[email protected]>
* use container cleanup action
Signed-off-by: sirutBuasai <[email protected]>
* remove unused step
Signed-off-by: sirutBuasai <[email protected]>
* try env.containerid
Signed-off-by: sirutBuasai <[email protected]>
* use env
Signed-off-by: sirutBuasai <[email protected]>
* add -it
Signed-off-by: sirutBuasai <[email protected]>
* full run
Signed-off-by: sirutBuasai <[email protected]>
* use output
Signed-off-by: sirutBuasai <[email protected]>
* use vars expose
Signed-off-by: sirutBuasai <[email protected]>
* use input
Signed-off-by: sirutBuasai <[email protected]>
* comment artifacts name
Signed-off-by: sirutBuasai <[email protected]>
* set output
Signed-off-by: sirutBuasai <[email protected]>
* echo
Signed-off-by: sirutBuasai <[email protected]>
* add outputs id
Signed-off-by: sirutBuasai <[email protected]>
* iamge uri output
Signed-off-by: sirutBuasai <[email protected]>
* test using hardcoded string
Signed-off-by: sirutBuasai <[email protected]>
* no echo
Signed-off-by: sirutBuasai <[email protected]>
* set my output
Signed-off-by: sirutBuasai <[email protected]>
* use image uri
Signed-off-by: sirutBuasai <[email protected]>
* use secret image uri file
Signed-off-by: sirutBuasai <[email protected]>
* fix inputs
Signed-off-by: sirutBuasai <[email protected]>
* correct docker pull
Signed-off-by: sirutBuasai <[email protected]>
* use non screte var
Signed-off-by: sirutBuasai <[email protected]>
* use steps image_uri
Signed-off-by: sirutBuasai <[email protected]>
* remove unused steps
Signed-off-by: sirutBuasai <[email protected]>
* change uri var name
Signed-off-by: sirutBuasai <[email protected]>
* change step name
Signed-off-by: sirutBuasai <[email protected]>
* run regression test
Signed-off-by: sirutBuasai <[email protected]>
* change container_pull to ecr_authenticate
Signed-off-by: sirutBuasai <[email protected]>
* remove }}
Signed-off-by: sirutBuasai <[email protected]>
* use 12xlarge fleet
Signed-off-by: sirutBuasai <[email protected]>
* use base sglang
Signed-off-by: sirutBuasai <[email protected]>
* revert dockerfile
Signed-off-by: sirutBuasai <[email protected]>
* run using g6e
Signed-off-by: sirutBuasai <[email protected]>
* remove unnecessary wait
Signed-off-by: sirutBuasai <[email protected]>
* rename tests
Signed-off-by: sirutBuasai <[email protected]>
* use matrix srt test
Signed-off-by: sirutBuasai <[email protected]>
* remove srt
Signed-off-by: sirutBuasai <[email protected]>
* add pytest requirements
Signed-off-by: sirutBuasai <[email protected]>
* add add conftest
Signed-off-by: sirutBuasai <[email protected]>
* test_utils
Signed-off-by: sirutBuasai <[email protected]>
* remove dup isort
Signed-off-by: sirutBuasai <[email protected]>
* run test exampels
Signed-off-by: sirutBuasai <[email protected]>
* fix runner name
Signed-off-by: sirutBuasai <[email protected]>
* force rich terminal
Signed-off-by: sirutBuasai <[email protected]>
* remove console width
Signed-off-by: sirutBuasai <[email protected]>
* disable rich tracebacks
Signed-off-by: sirutBuasai <[email protected]>
* add columns
Signed-off-by: sirutBuasai <[email protected]>
* fix intall
Signed-off-by: sirutBuasai <[email protected]>
* remove rich logger
Signed-off-by: sirutBuasai <[email protected]>
* remove rich logger
Signed-off-by: sirutBuasai <[email protected]>
* add sm endpoint
Signed-off-by: sirutBuasai <[email protected]>
* source and install dependencies
Signed-off-by: sirutBuasai <[email protected]>
* reduce sleep time
Signed-off-by: sirutBuasai <[email protected]>
* use serve cmd instead
Signed-off-by: sirutBuasai <[email protected]>
* activate venev
Signed-off-by: sirutBuasai <[email protected]>
* add pytest cache
Signed-off-by: sirutBuasai <[email protected]>
* enable debug
Signed-off-by: sirutBuasai <[email protected]>
* input image uri
Signed-off-by: sirutBuasai <[email protected]>
* use assert in test instead
Signed-off-by: sirutBuasai <[email protected]>
* remove f
Signed-off-by: sirutBuasai <[email protected]>
* show test output
Signed-off-by: sirutBuasai <[email protected]>
* use ack test direction
Signed-off-by: sirutBuasai <[email protected]>
* remove predictor
Signed-off-by: sirutBuasai <[email protected]>
* fix self error
Signed-off-by: sirutBuasai <[email protected]>
* fix input
Signed-off-by: sirutBuasai <[email protected]>
* remove model_id yield
Signed-off-by: sirutBuasai <[email protected]>
* fix get endpoint status
Signed-off-by: sirutBuasai <[email protected]>
* add predictory class
Signed-off-by: sirutBuasai <[email protected]>
* change predictor
Signed-off-by: sirutBuasai <[email protected]>
* format tests
Signed-off-by: sirutBuasai <[email protected]>
* change pytest cmd
Signed-off-by: sirutBuasai <[email protected]>
* move aws_session to global conftest
Signed-off-by: sirutBuasai <[email protected]>
* move aws_session to global conftest
Signed-off-by: sirutBuasai <[email protected]>
* fix comments
Signed-off-by: sirutBuasai <[email protected]>
* fix comments
Signed-off-by: sirutBuasai <[email protected]>
* remove force color from pytest workflow and move to global
Signed-off-by: sirutBuasai <[email protected]>
* rename workflow
Signed-off-by: sirutBuasai <[email protected]>
* test remove paths
Signed-off-by: sirutBuasai <[email protected]>
* add runner setup script
Signed-off-by: sirutBuasai <[email protected]>
* uv venv project name
Signed-off-by: sirutBuasai <[email protected]>
* use json serializers
Signed-off-by: sirutBuasai <[email protected]>
* sagemaker requirements
Signed-off-by: sirutBuasai <[email protected]>
* change conccurency name
Signed-off-by: sirutBuasai <[email protected]>
* remove concurrency
Signed-off-by: sirutBuasai <[email protected]>
---------
Signed-off-by: sirutBuasai <[email protected]>
Co-authored-by: Jinyan Li <[email protected]>1 parent 1ef9189 commit bfd737b
File tree
16 files changed
+861
-82
lines changed- .github
- actions/pr-permission-gate
- workflows
- docker/sglang
- scripts
- common
- sglang
- test
- sglang/sagemaker
- test_utils
16 files changed
+861
-82
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
0 commit comments