Commit 16ffb94
authored
tests: unskip three tests with individual issues in train (#5894)
* tests: unskip three tests
* fix: use relative imports in mpi_driver.py for container compatibility
The MPI driver script used absolute imports (from sagemaker.train.container_drivers...)
which fail at runtime in the training container because sagemaker-train is not installed
there. The driver scripts are copied to /opt/ml/input/data/sm_drivers/ and executed
directly by the container entrypoint.
Changed to sys.path-based relative imports matching the pattern used by
torchrun_driver.py, which works correctly in the container environment.
* test: migrate nova eval test to use own account resources
Remove cross-account dependency in test_benchmark_evaluation_nova_model by
replacing resources from account 052150106756 with our test account
(729646638167) in us-east-1. Also removed mlflow_tracking_server_arn since
no MLflow server exists in us-east-1.
Test remains skipped pending us-east-1 test infrastructure migration to a
dedicated test account.
* test: remove module level skip1 parent 4374751 commit 16ffb94
3 files changed
Lines changed: 15 additions & 16 deletions
File tree
- sagemaker-train
- src/sagemaker/train/container_drivers/distributed_drivers
- tests/integ/train
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | | - | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
Lines changed: 8 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | | - | |
| 64 | + | |
67 | 65 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
| |||
288 | 285 | | |
289 | 286 | | |
290 | 287 | | |
291 | | - | |
| 288 | + | |
292 | 289 | | |
293 | 290 | | |
294 | 291 | | |
| |||
342 | 339 | | |
343 | 340 | | |
344 | 341 | | |
345 | | - | |
| 342 | + | |
346 | 343 | | |
347 | 344 | | |
348 | 345 | | |
349 | 346 | | |
350 | 347 | | |
351 | 348 | | |
352 | 349 | | |
353 | | - | |
354 | | - | |
| 350 | + | |
355 | 351 | | |
356 | 352 | | |
357 | 353 | | |
| |||
363 | 359 | | |
364 | 360 | | |
365 | 361 | | |
366 | | - | |
367 | 362 | | |
368 | 363 | | |
369 | 364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments