python: depend on offical NVIDIA CUDA packages (#2355)

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2024-05-20 18:06:27 -04:00
committed by GitHub
parent c779d8a32d
commit 09dd3dc318
2 changed files with 39 additions and 1 deletions

View File

@@ -93,7 +93,15 @@ setup(
'typing-extensions>=4.3.0; python_version >= "3.9" and python_version < "3.11"',
],
extras_require={
'cuda': [
'nvidia-cuda-runtime-cu12',
'nvidia-cublas-cu12',
],
'all': [
'gpt4all[cuda]; platform_system == "Windows" or platform_system == "Linux"',
],
'dev': [
'gpt4all[all]',
'pytest',
'twine',
'wheel',