mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[PR #17] [MERGED] Runtime cuBLAS linking #84
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-kitchen#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-kitchen/pull/17
Author: @contentis
Created: 1/7/2026
Status: ✅ Merged
Merged: 1/7/2026
Merged by: @comfyanonymous
Base:
main← Head:runtime_linking📝 Commits (1)
b4a2a66runtime linking of cublas, readme update, turing support📊 Changes
10 files changed (+371 additions, -108 deletions)
View changed files
📝
README.md(+16 -22)📝
comfy_kitchen/backends/cuda/CMakeLists.txt(+4 -1)📝
comfy_kitchen/backends/cuda/__init__.py(+35 -30)➕
comfy_kitchen/backends/cuda/cublaslt_runtime.h(+248 -0)📝
comfy_kitchen/backends/cuda/dlpack_bindings.cpp(+10 -0)📝
comfy_kitchen/backends/cuda/ops/cublas_gemm_nvfp4.cu(+39 -35)📝
comfy_kitchen/backends/cuda/ops/per_tensor_quantize.cu(+7 -7)📝
comfy_kitchen/backends/cuda/ops/quantize_nvfp4.cu(+7 -7)📝
comfy_kitchen/tensor/base.py(+3 -1)📝
setup.py(+2 -5)📄 Description
Use dlopen/LoadLibrary to load cublas at runtime and only disable features that require it (NVFP4 GEMM)
Furthermore clean up c namespaces, add turing support (oldest possible compile target with CU13), update readme accoringly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.