mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1248] [Bug] Windows built without balance_serve successfully but failed while loading #844
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#844
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 @Ryuukeisyou on GitHub (May 1, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1248
Checklist
Describe the bug
Hi, I am trying to run ktransformers natively in windows. With some changes, it build sucessfully, but failed at loading model.
Reproduction
I have done the following to try to start, without balance_serve, since balance_serve seem to require a lot more fixes to work in windows.
from
to
the build and install process was successful without errors, and then I try to run DeepSeek-R1-UD-IQ1_S with
which used to work in version 0.2.3post2.
However, the process exited without showing any exceptions, even if I use debug mode with vscode. here is the last console output when it exited:
Any help or advice on how to debug would be appreciated!
Environment
sys windows 11
pytorch 2.6+cu126
gpu nvidia4090
@Ryuukeisyou commented on GitHub (May 2, 2025):
The problem is solved. For anyone who is interested, in fact I forgot to change also the free method from
free()to_aligned_free().and then change all free() call to this method.
Now ktransformers is running normally on Windows, without balance_serve. The balance serve part still seems to require a lot work, which I have not delt with yet.