ViperEkura
7feeb0b93e
refactor: replace magic layout ints with TensorLayout enum
- Add TensorLayout enum (C++ + Python) to replace magic layout ints
- Add C10_CUDA_CHECK post-launch error checking to all kernel entries
- Add CUDAGuard + freqs_cis shape validation to rotary_emb.cu
- Cache SM count to eliminate per-call cudaDeviceGetAttribute
- Add DISPATCH_CAUSAL_MASK macro to deduplicate dispatcher if/else
- Convert mask type hints from X|None to Optional[X]
2026-08-01 11:05:52 +08:00
..
2026-07-31 15:36:32 +08:00
2026-08-01 11:05:52 +08:00
2026-07-31 22:37:44 +08:00
2026-08-01 11:05:52 +08:00
2026-07-31 15:36:32 +08:00
2026-07-31 16:52:25 +08:00
2026-07-31 16:52:25 +08:00