abetlen / abetlen/llama-cpp-python

Support for Python 3.13 in llama-cpp-python?

Aperta
#1,970 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
10.6k
Fork
1.4k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.