abetlen / abetlen/llama-cpp-python

Support for Python 3.13 in llama-cpp-python?

Đang mở
#1,970 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
10.6k
Fork
1.4k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

Body:
Is your feature request related to a problem? Please describe.
I'm trying to install llama-cpp-python on Python 3.13.2, but I am facing multiple compilation errors, specifically related to:

std::chrono::system_clock and std::chrono::now issues during build.
C2039 and C3083 errors indicating missing compatibility with newer C++ standards.
Describe the solution you'd like
I would like llama-cpp-python to officially support Python 3.13, either through:

Prebuilt wheels for Python 3.13 (to avoid manual compilation issues).
Updates to CMakeLists.txt or source code to handle std::chrono changes in Python 3.13.
Describe alternatives you've considered
Downgrading to Python 3.11, which works but disrupts other dependencies in my project.
Manually modifying llama-cpp-python source code to fix compatibility, but this is not a scalable solution.
Waiting for official support, but I would like to know if it's being planned.
Additional context
OS: Windows 10
Compiler: MSVC (cl.exe) version 19.43.34808
Python Version: 3.13.2
Error Logs: (Attach relevant error logs here, or copy-paste the build errors)
Is Python 3.13 support planned for a future release? If so, is there a rough timeline for when it might be available?

Thanks for your time and for maintaining this great project! 🚀

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.