compile cache model card update
Browse files
phase02_cache/compile_cache_model_card_only_decoder_phase02.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Compile Cache — MI300X
|
| 2 |
|
| 3 |
-
Generated: 2026-07-
|
| 4 |
|
| 5 |
## Purpose
|
| 6 |
Records the exact configuration under which the compile cache (inductor + Triton) was built.
|
|
@@ -8,29 +8,29 @@ If unexpected AUTOTUNE blocks appear on a later run, compare the current environ
|
|
| 8 |
against these values to pinpoint the cache-key mismatch.
|
| 9 |
|
| 10 |
## Hardware
|
| 11 |
-
- GPU:
|
| 12 |
- GPU count (world_size): 1 (1)
|
| 13 |
- Architecture: gfx942 (AMD MI300X)
|
| 14 |
|
| 15 |
## Software Versions
|
| 16 |
| Package | Version |
|
| 17 |
|---------|---------|
|
| 18 |
-
| Torch | 2.11.0+
|
| 19 |
-
| HIP / ROCm |
|
| 20 |
-
| Triton | 3.
|
| 21 |
| ck4inductor | N/A |
|
| 22 |
-
| Python | 3.11.
|
| 23 |
|
| 24 |
## Compile Configuration
|
| 25 |
| Setting | Value |
|
| 26 |
|---------|-------|
|
| 27 |
| Compile backend | inductor |
|
| 28 |
| Compile mode | max-autotune-no-cudagraphs |
|
| 29 |
-
| GEMM backends | ATEN |
|
| 30 |
| TORCHINDUCTOR\_CK\_DIR | `N/A` |
|
| 31 |
-
| TORCHINDUCTOR\_CACHE\_DIR | `/
|
| 32 |
-
| TRITON\_CACHE\_DIR | `/
|
| 33 |
-
| TRITON\_MAX\_BLOCK\_SIZE |
|
| 34 |
| TORCHINDUCTOR\_COMPILE\_THREADS | 1 |
|
| 35 |
|
| 36 |
## Model
|
|
@@ -42,22 +42,22 @@ against these values to pinpoint the cache-key mismatch.
|
|
| 42 |
## Cache Statistics
|
| 43 |
| Cache | Files |
|
| 44 |
|-------|-------|
|
| 45 |
-
| inductor\_cache |
|
| 46 |
-
| triton\_cache |
|
| 47 |
-
| tar.zst size |
|
| 48 |
|
| 49 |
## Autotune Cache Key
|
| 50 |
The inductor autotune winner cache key is a **hash of the full candidate set**
|
| 51 |
including which backends are enabled. Adding/removing from
|
| 52 |
-
`TORCHINDUCTOR_MAX_AUTOTUNE_GEMM_BACKENDS` (currently `ATEN`) will
|
| 53 |
invalidate all cached winners and force a full AUTOTUNE re-run.
|
| 54 |
|
| 55 |
## Recompilation Trigger Checklist
|
| 56 |
If AUTOTUNE blocks appear on a pod that should have cache hits, verify:
|
| 57 |
-
1. `TORCHINDUCTOR_MAX_AUTOTUNE_GEMM_BACKENDS` == `ATEN`
|
| 58 |
2. `TORCHINDUCTOR_CK_DIR` points to valid CK root: `N/A`
|
| 59 |
3. `library/src` symlink inside ck4inductor package exists (needed for gemm_universal kernel enumeration)
|
| 60 |
-
4. `TORCHINDUCTOR_CACHE_DIR` == `/
|
| 61 |
-
5. `TRITON_CACHE_DIR` == `/
|
| 62 |
-
6. Torch version matches: `2.11.0+
|
| 63 |
-
7. Triton version matches: `3.
|
|
|
|
| 1 |
# Compile Cache — MI300X
|
| 2 |
|
| 3 |
+
Generated: 2026-07-13T14:40:00Z
|
| 4 |
|
| 5 |
## Purpose
|
| 6 |
Records the exact configuration under which the compile cache (inductor + Triton) was built.
|
|
|
|
| 8 |
against these values to pinpoint the cache-key mismatch.
|
| 9 |
|
| 10 |
## Hardware
|
| 11 |
+
- GPU: NVIDIA A100 80GB PCIe
|
| 12 |
- GPU count (world_size): 1 (1)
|
| 13 |
- Architecture: gfx942 (AMD MI300X)
|
| 14 |
|
| 15 |
## Software Versions
|
| 16 |
| Package | Version |
|
| 17 |
|---------|---------|
|
| 18 |
+
| Torch | 2.11.0+cu128 |
|
| 19 |
+
| HIP / ROCm | N/A |
|
| 20 |
+
| Triton | 3.6.0 |
|
| 21 |
| ck4inductor | N/A |
|
| 22 |
+
| Python | 3.11.10 |
|
| 23 |
|
| 24 |
## Compile Configuration
|
| 25 |
| Setting | Value |
|
| 26 |
|---------|-------|
|
| 27 |
| Compile backend | inductor |
|
| 28 |
| Compile mode | max-autotune-no-cudagraphs |
|
| 29 |
+
| GEMM backends | ATEN,TRITON |
|
| 30 |
| TORCHINDUCTOR\_CK\_DIR | `N/A` |
|
| 31 |
+
| TORCHINDUCTOR\_CACHE\_DIR | `/tmp/ml_cache/inductor_cache` |
|
| 32 |
+
| TRITON\_CACHE\_DIR | `/tmp/ml_cache/triton_cache` |
|
| 33 |
+
| TRITON\_MAX\_BLOCK\_SIZE | N/A |
|
| 34 |
| TORCHINDUCTOR\_COMPILE\_THREADS | 1 |
|
| 35 |
|
| 36 |
## Model
|
|
|
|
| 42 |
## Cache Statistics
|
| 43 |
| Cache | Files |
|
| 44 |
|-------|-------|
|
| 45 |
+
| inductor\_cache | 1027 |
|
| 46 |
+
| triton\_cache | 26763 |
|
| 47 |
+
| tar.zst size | 902.2 MB |
|
| 48 |
|
| 49 |
## Autotune Cache Key
|
| 50 |
The inductor autotune winner cache key is a **hash of the full candidate set**
|
| 51 |
including which backends are enabled. Adding/removing from
|
| 52 |
+
`TORCHINDUCTOR_MAX_AUTOTUNE_GEMM_BACKENDS` (currently `ATEN,TRITON`) will
|
| 53 |
invalidate all cached winners and force a full AUTOTUNE re-run.
|
| 54 |
|
| 55 |
## Recompilation Trigger Checklist
|
| 56 |
If AUTOTUNE blocks appear on a pod that should have cache hits, verify:
|
| 57 |
+
1. `TORCHINDUCTOR_MAX_AUTOTUNE_GEMM_BACKENDS` == `ATEN,TRITON`
|
| 58 |
2. `TORCHINDUCTOR_CK_DIR` points to valid CK root: `N/A`
|
| 59 |
3. `library/src` symlink inside ck4inductor package exists (needed for gemm_universal kernel enumeration)
|
| 60 |
+
4. `TORCHINDUCTOR_CACHE_DIR` == `/tmp/ml_cache/inductor_cache` (with extracted cache files present)
|
| 61 |
+
5. `TRITON_CACHE_DIR` == `/tmp/ml_cache/triton_cache` (must NOT be `~/.triton` — that is wiped on restart)
|
| 62 |
+
6. Torch version matches: `2.11.0+cu128` — different minor/patch versions can invalidate kernel hashes
|
| 63 |
+
7. Triton version matches: `3.6.0`
|