Commit d1b189e
committed
fix(tensorflow): Restore cleanup section to reduce TF 2.19 image size
- Add back comprehensive cleanup of build artifacts and caches
- Remove Rust/Cargo registry and git cache (~500-1000 MB)
- Remove Python bytecode, __pycache__, and test directories (~200-500 MB)
- Remove JupyterLab staging and tests (~100-300 MB)
- Remove system docs, man pages, and examples (~100-200 MB)
- Expected reduction: 1-2 GB to meet baseline (7500 MB CPU, 11998 MB GPU)
This cleanup was accidentally removed in commit 37f92871 parent 1f358dd commit d1b189e
File tree
2 files changed
+56
-0
lines changed- tensorflow/training/docker/2.19/py3
- cu125
2 files changed
+56
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
308 | 336 | | |
309 | 337 | | |
310 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
395 | 423 | | |
396 | 424 | | |
397 | 425 | | |
| |||
0 commit comments