Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Python 3.13 in llama-cpp-python? #1970

Open
JeevanEagala opened this issue Mar 12, 2025 · 0 comments
Open

Support for Python 3.13 in llama-cpp-python? #1970

JeevanEagala opened this issue Mar 12, 2025 · 0 comments

Comments

@JeevanEagala
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant