RaninduH commited on
Commit
9c05858
·
verified ·
1 Parent(s): ccec035

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-12T17:09:31Z
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: AMD Instinct MI300X VF
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.15 |
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 | `/dev/shm/inductor_cache` |
32
- | TRITON\_CACHE\_DIR | `/dev/shm/triton_cache` |
33
- | TRITON\_MAX\_BLOCK\_SIZE | 32 |
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 | 1028 |
46
- | triton\_cache | 36863 |
47
- | tar.zst size | 3813.3 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`) 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` == `/dev/shm/inductor_cache` (with extracted cache files present)
61
- 5. `TRITON_CACHE_DIR` == `/dev/shm/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-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`