abetlen / abetlen/llama-cpp-python

Support for Python 3.13 in llama-cpp-python?

未關閉
#1,970 0 則留言 2 個 reaction 已指派 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 摘要。