()
| 162 | |
| 163 | |
| 164 | def _get_module(): |
| 165 | global _module |
| 166 | if _module is None: |
| 167 | _module = compile_cuda(CUDA_SRC, "rmsnorm_cuda") |
| 168 | return _module |
| 169 | |
| 170 | |
| 171 | def kernel_fn(x: torch.Tensor, weight: torch.Tensor) -> torch.Tensor: |
no test coverage detected