feat: 更新版本号至 6.2.4,添加 GPU 加速支持和相关依赖

This commit is contained in:
catlog22
2025-12-22 14:15:36 +08:00
parent ba23244876
commit 72f24bf535
7 changed files with 344 additions and 20 deletions

View File

@@ -31,6 +31,24 @@ semantic = [
"hnswlib>=0.8.0",
]
# GPU acceleration for semantic search (NVIDIA CUDA)
# Install with: pip install codexlens[semantic-gpu]
semantic-gpu = [
"numpy>=1.24",
"fastembed>=0.2",
"hnswlib>=0.8.0",
"onnxruntime-gpu>=1.15.0", # CUDA support
]
# GPU acceleration for Windows (DirectML - supports NVIDIA/AMD/Intel)
# Install with: pip install codexlens[semantic-directml]
semantic-directml = [
"numpy>=1.24",
"fastembed>=0.2",
"hnswlib>=0.8.0",
"onnxruntime-directml>=1.15.0", # DirectML support
]
# Encoding detection for non-UTF8 files
encoding = [
"chardet>=5.0",