MCPcopy Create free account
hub / github.com/FlashSampling/FlashSampling / get_cublas

Function get_cublas

src/fused_mm_sampling/tl_matmul.py:190–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188
189
190def get_cublas():
191 from triton._C.libtriton import nvidia
192
193 device_workspace = torch.empty(32 * 1024 * 1024, device="cuda", dtype=torch.uint8)
194 cublas = nvidia.cublas.CublasLt(device_workspace)
195 return cublas

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected