mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +03:00
feat(docker image): Docker image Optimized for CPU-only env (#2368)
# Description Optimize the docker image for cpu-only environment. (PyTorch in cpu mode, cuda not installed etc) This should reduce the backend docker image size by ~2 Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
This commit is contained in:
parent
af59816c3f
commit
d42323d34a
@ -1,4 +1,6 @@
|
||||
-i https://pypi.org/simple
|
||||
# Ensure PyTorch, along with its required dependencies, is explicitly installed in 'CPU-only' mode to optimize compatibility and performance for systems without GPU support.
|
||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||
aiohttp==3.9.3; python_version >= '3.8'
|
||||
aiosignal==1.3.1; python_version >= '3.7'
|
||||
amqp==5.2.0; python_version >= '3.6'
|
||||
|
Loading…
Reference in New Issue
Block a user