Skip to content
Snippets Groups Projects
Commit adad3d7e authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Switch from fastai to conda-forge for OpenCV

parent 72f54f26
No related branches found
No related tags found
1 merge request!35Update code-server and switch channel for OpenCV
...@@ -122,8 +122,8 @@ RUN mamba install --yes \ ...@@ -122,8 +122,8 @@ RUN mamba install --yes \
'jupyter-archive' \ 'jupyter-archive' \
'jupyterlab-git' \ 'jupyterlab-git' \
'jupyter-resource-usage' \ 'jupyter-resource-usage' \
# install opencv via fastai, headless version not available in conda-forge # install opencv headless version
'fastai::opencv-python-headless' && \ 'py-opencv=*=headless*' && \
printf '%s\n' \ printf '%s\n' \
"" \ "" \
"# track CPU usage, prevent known bug with prometheus, set default limits if not set by MEM_LIMIT and CPU_LIMIT" \ "# track CPU usage, prevent known bug with prometheus, set default limits if not set by MEM_LIMIT and CPU_LIMIT" \
......
...@@ -74,8 +74,8 @@ RUN mamba install --yes \ ...@@ -74,8 +74,8 @@ RUN mamba install --yes \
'jupyterlab_execute_time' \ 'jupyterlab_execute_time' \
'jupyter-archive' \ 'jupyter-archive' \
'jupyter-resource-usage' \ 'jupyter-resource-usage' \
# install opencv via fastai, headless version not available in conda-forge # install opencv headless version
'fastai::opencv-python-headless' && \ 'py-opencv=*=headless*' && \
printf '%s\n' \ printf '%s\n' \
"" \ "" \
"# track CPU usage, prevent known bug with prometheus, set default limits if not set by MEM_LIMIT and CPU_LIMIT" \ "# track CPU usage, prevent known bug with prometheus, set default limits if not set by MEM_LIMIT and CPU_LIMIT" \
......
...@@ -72,8 +72,8 @@ RUN mamba install --yes --no-update-deps \ ...@@ -72,8 +72,8 @@ RUN mamba install --yes --no-update-deps \
'jupyterlab_execute_time' \ 'jupyterlab_execute_time' \
'jupyter-archive' \ 'jupyter-archive' \
'jupyter-resource-usage' \ 'jupyter-resource-usage' \
# install opencv via fastai, headless version not available in conda-forge # install opencv headless version
'fastai::opencv-python-headless' && \ 'py-opencv=*=headless*' && \
pip install --no-cache-dir --extra-index-url 'https://pypi.nvidia.com' --extra-index-url 'https://download.pytorch.org/whl/cu118' \ pip install --no-cache-dir --extra-index-url 'https://pypi.nvidia.com' --extra-index-url 'https://download.pytorch.org/whl/cu118' \
'transformers' \ 'transformers' \
'diffusers' \ 'diffusers' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment