Nekochu commited on
Commit
cdef1d9
·
1 Parent(s): 69eef34

fix README: accurate torch.compile description, no triton/AOTI claim

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -44,8 +44,8 @@ Based on [CorridorKey](https://github.com/nikopueringer/CorridorKey) by Corridor
44
 
45
  - **Full GPU pipeline**: preprocessing (resize + normalize) and postprocessing (despill, clean_matte, resize) stay on device — avoids CPU↔GPU round-trips per batch
46
  - **TF32 tensor cores**: `torch.set_float32_matmul_precision('high')` for FP32 postprocessing ops
47
- - **Conditional torch.compile**: on warm ZeroGPU containers, cached torch.inductor kernels enable compiled inference (~0s warmup). Cold starts skip compile (37s warmup exceeds 120s GPU budget). AOTI compilation with torch.inductor + triton cudagraphs gives 1.5-2x speed: native CUDA kernels, fused operations, no CPU-GPU sync overhead
48
- - **Inductor cache persistence**: `TORCHINDUCTOR_CACHE_DIR` set so compiled kernels survive across sessions
49
 
50
  ## API
51
 
 
44
 
45
  - **Full GPU pipeline**: preprocessing (resize + normalize) and postprocessing (despill, clean_matte, resize) stay on device — avoids CPU↔GPU round-trips per batch
46
  - **TF32 tensor cores**: `torch.set_float32_matmul_precision('high')` for FP32 postprocessing ops
47
+ - **Conditional torch.compile**: on warm ZeroGPU containers, cached torch.inductor kernels enable compiled inference (~0s warmup, 1.3-1.5x speedup). Cold starts skip compile (37s warmup exceeds 120s GPU budget). torch.inductor compiles to native CUDA kernels with fused operations and reduced kernel launches
48
+ - **Inductor cache persistence**: `TORCHINDUCTOR_CACHE_DIR` persists compiled kernels across ZeroGPU sessions
49
 
50
  ## API
51