mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[PR #645] [MERGED] Ensure backward compatibility with PyTorch 2.2 #1444
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#1444
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/kvcache-ai/ktransformers/pull/645
Author: @yeahdongcn
Created: 2/24/2025
Status: ✅ Merged
Merged: 2/24/2025
Merged by: @Atream
Base:
main← Head:torch2.2📝 Commits (1)
f88c05aEnsure backward compatibility with Torch 2.2📊 Changes
2 files changed (+32 additions, -25 deletions)
View changed files
📝
ktransformers/ktransformers_ext/cuda/binding.cpp(+23 -16)📝
ktransformers/ktransformers_ext/cuda/custom_gguf/ops.h(+9 -9)📄 Description
While testing with torch_musa from PyTorch 2.2, I encountered an issue when loading weights to the GPU:
This PR ensures backward compatibility with Torch 2.2 and fixes a mismatched parameter type in the header file.
Testing Done
make dev_installpython ./ktransformers/local_chat.py ...🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.