abetlen / abetlen/llama-cpp-python

Support for Python 3.13 in llama-cpp-python?

オープン
#1,970 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
10.6k
フォーク
1.4k
PR マージ指標
PR 指標を取得中

説明

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! 🚀

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。