Commit ad73db2
Bhanu Teja Goshikonda
fix(pytorch): invalidate builder-flash-attn stage cache
Adds an inline comment inside the builder-flash-attn RUN block to
change its BuildKit stage hash, forcing a fresh source build against
the current torch 2.13 pin.
Background: earlier CI cycles on this branch cached a flash-attn wheel
that was compiled against torch 2.12 (undefined symbol
c10::impl::cow::materialize_cow_storage at import time on torch 2.13).
The bad wheel persisted through S3 delete + ECR tag delete because
BuildKit's stage cache lives across untagged image layers and the
fleet host's local buildkitd cache, both of which we cannot enumerate
and clean cleanly. Changing the RUN command text is the only way to
guarantee BuildKit re-executes the stage.
The comment is intentionally verbose and self-documenting so future
readers understand its purpose and don't reflexively delete it.1 parent 9637c9e commit ad73db2
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| |||
0 commit comments