RaninduH commited on
Commit
4e955f0
·
verified ·
1 Parent(s): 1102e87

compile cache model card update

Browse files
phase02_cache/compile_cache_model_card_no_decoder_phase02.md CHANGED
@@ -1,6 +1,6 @@
1
  # Compile Cache — MI300X
2
 
3
- Generated: 2026-07-14T14:57:31Z
4
 
5
  ## Purpose
6
  Records the exact configuration under which the compile cache (inductor + Triton) was built.
@@ -8,18 +8,18 @@ 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: AMD Radeon Graphics
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+rocm7.2 |
19
- | HIP / ROCm | 7.2.26015 |
20
- | Triton | 3.7.0 |
21
  | ck4inductor | N/A |
22
- | Python | 3.11.4 |
23
 
24
  ## Compile Configuration
25
  | Setting | Value |
@@ -27,10 +27,10 @@ against these values to pinpoint the cache-key mismatch.
27
  | Compile backend | inductor |
28
  | Compile mode | max-autotune-no-cudagraphs |
29
  | GEMM backends | ATEN |
30
- | TORCHINDUCTOR\_CK\_DIR | `/opt/conda/envs/py_3.10/lib/python3.10/site-packages/ck4inductor` |
31
  | TORCHINDUCTOR\_CACHE\_DIR | `/tmp/ml_cache/inductor_cache` |
32
  | TRITON\_CACHE\_DIR | `/tmp/ml_cache/triton_cache` |
33
- | TRITON\_MAX\_BLOCK\_SIZE | 32 |
34
  | TORCHINDUCTOR\_COMPILE\_THREADS | 1 |
35
 
36
  ## Model
@@ -42,9 +42,9 @@ against these values to pinpoint the cache-key mismatch.
42
  ## Cache Statistics
43
  | Cache | Files |
44
  |-------|-------|
45
- | inductor\_cache | 995 |
46
- | triton\_cache | 18167 |
47
- | tar.zst size | 2543.5 MB |
48
 
49
  ## Autotune Cache Key
50
  The inductor autotune winner cache key is a **hash of the full candidate set**
@@ -55,9 +55,9 @@ invalidate all cached winners and force a full AUTOTUNE re-run.
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: `/opt/conda/envs/py_3.10/lib/python3.10/site-packages/ck4inductor`
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+rocm7.2` — different minor/patch versions can invalidate kernel hashes
63
- 7. Triton version matches: `3.7.0`
 
1
  # Compile Cache — MI300X
2
 
3
+ Generated: 2026-07-18T19:20:04Z
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 |
 
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 | `/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 | 511 |
46
+ | triton\_cache | 5204 |
47
+ | tar.zst size | 155.4 MB |
48
 
49
  ## Autotune Cache Key
50
  The inductor autotune winner cache key is a **hash of the full candidate set**
 
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` == `/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`