-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support using Python 3.12 with Khoj (#690)
### Why - Python 3.12 is the default Python on Ubuntu 24.04 LTS, Windows and Mac via Homebrew - Python 3.12 has a bunch of improvements that can be explored with Khoj (e.g per core GIL for performance) ## Changes - The latest PyTorch now supports Python 3.12 - RapidOCR for indexing image PDFs doesn't currently support python 3.12. But it's an optional dependency, so only install it if python < 3.12 ### Testing - Verified Khoj installs fine on Windows and Mac with Python 3.12 - Verified Khoj chat works fine on Mac, Windows with Python 3.12 Resolves #522
- Loading branch information
Showing
4 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ jobs: | |
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
- '3.12' | ||
|
||
services: | ||
postgres: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters