Spaces:
Running on Zero
Running on Zero
fix README: accurate torch.compile description, no triton/AOTI claim
Browse files
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).
|
| 48 |
-
- **Inductor cache persistence**: `TORCHINDUCTOR_CACHE_DIR`
|
| 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 |
|