Python API reference — nvMatmulHeuristics
Extended version of NvMatmulHeuristicsInterface that manages discovery profiles internally and allows precision to be specified per-call rather than at construction time. Initialize the extended interface. backend: Target backend type path: Path to nvMatmulHeuristics library flags: Flags to use for operations load_discovery_implicitly: Whether to automatically load discovery sets when needed gpu: Optional GPU to use. If None, no GPU will be set. Override to track loaded discovery sets. matmulLayout: Matrix layout hardware_descriptor: Hardware descriptor precision: Optional precision override True if the discovery set was loaded successfully Get GEMM configurations with optional precision override. problem: Problem configuration count: Number of configurations to retrieve precision: Optional precision override List of kernel configurations Get GEMM configurations with custom backend and optional precision override. problem: Problem configuration count: Number of configurations to retrie
Python API reference # class nvMatmulHeuristics. GemmConfig # Bases: object A GEMM kernel configuration. class nvMatmulHeuristics. MatmulProblem # Bases: object Description of a matrix multiplication problem. class nvMatmulHeuristics. NvMatmulHeuristicsTarget ( value ) # Bases: IntEnum Enumeration of supported heuristic target libraries and frameworks. GENERIC = 0 # NVFUSER = 1 # CUTLASS = 2 # TRITON = 3 # CUTLASS3 = 4 # RESERVED_1 = 5 # RESERVED_2 = 6 # END = 7 # class nvMatmulHeuristics. NvMatmulHeuristicsFlags ( value ) # Bases: IntEnum Bit-flag options controlling nvMatmulHeuristics behavi
saved by
related reading
- Worklog: Optimising GEMM on NVIDIA H100 for cuBLAS-like Performance (WIP) – Hamza's Bloghamzaelshafie.bearblog.dev
- API Reference — TensorRT LLMnvidia.github.io
- CVPR2023_eff_tutorial_molchanov.pdfnvlabs.github.io
- GPU Performance Background User's Guide - NVIDIA Docsdocs.nvidia.com
- How to Optimize a CUDA Matmul Kernel for cuBLAS-like Performance: a Worklogsiboehm.com
- Inside NVIDIA GPUs: Anatomy of high performance matmul kernels - Aleksa Gordićaleksagordic.com
- How to Think About GPUs | How To Scale Your Modeljax-ml.github.io
- GitHub - wangzyon/NVIDIA_SGEMM_PRACTICE: Step-by-step optimization of CUDA SGEMMgithub.com
- Grouped GEMM for Imbalanced Experts on Blackwell: A WIP Workloggauravjain.bearblog.dev
- Strangely, Matrix Multiplications on GPUs Run Faster When Given "Predictable" Data! [short]thonking.ai
- ⭐️ Fast LLM Inference From Scratchandrewkchan.dev
- GPT in 60 Lines of NumPy | Jay Modyjaykmody.com