mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[GH-ISSUE #18] Precompile all kernels (no jit) #15
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
deepseek-ai/DeepGEMM#15
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?
Originally created by @YLGH on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/18
Hi, thanks for the amazing library!
Just wondering, is there a way to disable jit by precompiling all the necessary shapes? Or is it recommended to just some "warmup" script to compile all the kernels? What's a good list of M,N,K values to do so?
@jason-huang03 commented on GitHub (Feb 26, 2025):
Not possible, the N and K are template arguments.
@LyricZhao commented on GitHub (Feb 27, 2025):
For your own model (if the shapes are fixed), you can simply modify the test scripts to test all the shapes your model used. And later for model training, make sure that you are using the same cache dir (
DG_CACHE_DIR).