Repository navigation
Commit 01beb54
authored
test: disable HF Xet/hf_transfer in serve integ tests to fix endpoint deploy (#5992)
* test: disable HF Xet/hf_transfer in serve integ tests to fix endpoint deploy
The schema_builder and serve_tei SAGEMAKER_ENDPOINT tests began failing
around 2026-06-29 because HuggingFace Hub migrated model repos to the Xet
storage backend. The HF DLC container downloads the model at startup with
hf_transfer enabled, which now hits the Xet CDN (us.aws.cdn.hf.co) and gets
403 Forbidden. The container never passes the ping health check, the endpoint
enters Failed, and the test hits its 15-minute deploy timeout.
Inject HF_HUB_ENABLE_HF_TRANSFER=0 and HF_HUB_DISABLE_XET=1 into the container
env so the model is pulled over plain HTTPS, restoring the pre-Xet download
path. Evidence: endpoint container logs show hf_transfer 403 against the Xet
bridge URL; the same tests passed in build #2712 (2026-06-16) before the
rollout.
* test: Mock JumpStartModel in optimize/compile JS builder test1 parent a85423f commit 01beb54
3 files changed
Lines changed: 26 additions & 1 deletion
File tree
- tests
- integ/sagemaker/serve
- unit/sagemaker/serve/builder
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
169 | 176 | | |
170 | 177 | | |
171 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
172 | 186 | | |
173 | 187 | | |
174 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1272 | 1272 | | |
1273 | 1273 | | |
1274 | 1274 | | |
| 1275 | + | |
1275 | 1276 | | |
1276 | 1277 | | |
1277 | 1278 | | |
1278 | 1279 | | |
1279 | 1280 | | |
1280 | 1281 | | |
| 1282 | + | |
1281 | 1283 | | |
1282 | 1284 | | |
1283 | 1285 | | |
| |||
1319 | 1321 | | |
1320 | 1322 | | |
1321 | 1323 | | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
1322 | 1328 | | |
1323 | 1329 | | |
1324 | 1330 | | |
| |||
0 commit comments