Files
nixpkgs/pkgs/development/python-modules/flashinfer-python/gemm-interface-include-functional.patch
Gaetan Lepage e20a73266f python3Packages.flashinfer-python: fix trtllm_gemm_runner build with GCC 16
trtllmGen_gemm_export/GemmInterface.h (shipped in flashinfer-cubin) uses std::reference_wrapper
without including <functional>, which GCC 16's libstdc++ no longer brings in transitively:
  error: incomplete type "std::reference_wrapper<gemm::gemm::GemmInterface::ModuleCache>" is not allowed

Include it in trtllm_gemm_runner.cu before that header.
2026-11-08 11:58:42 +01:00

918 B