We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have some feedback about this page
Tutorial Setup step 2 continuously fails:
Download the CLIP model docker compose run download-model
Error output:
Joses-MacBook-Pro:hazelcast-image-search colljos$ docker compose run download-model [+] Building 14.6s (6/8) docker:desktop-linux => [download-model internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 194B 0.0s => [download-model internal] load metadata for docker.io/library/python:3 0.8s => [download-model auth] library/python:pull token for registry-1.docker.io 0.0s => [download-model internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => CACHED [download-model 1/4] FROM docker.io/library/python:3@sha256:a31cbb4db18c6f09e3300fa85b77f6d56702501fcb9bdb8792ec702a39ba6200 0.0s => ERROR [download-model 2/4] RUN pip install sentence-transformers jupyter pytest 13.7s ------ > [download-model 2/4] RUN pip install sentence-transformers jupyter pytest: 1.493 Collecting sentence-transformers 1.604 Downloading sentence_transformers-3.2.1-py3-none-any.whl.metadata (10 kB) 1.646 Collecting jupyter 1.669 Downloading jupyter-1.1.1-py2.py3-none-any.whl.metadata (2.0 kB) 1.779 Collecting pytest 1.800 Downloading pytest-8.3.3-py3-none-any.whl.metadata (7.5 kB) 1.986 Collecting transformers<5.0.0,>=4.41.0 (from sentence-transformers) 2.009 Downloading transformers-4.46.0-py3-none-any.whl.metadata (44 kB) 2.254 Collecting tqdm (from sentence-transformers) 2.275 Downloading tqdm-4.66.5-py3-none-any.whl.metadata (57 kB) 2.397 Collecting torch>=1.11.0 (from sentence-transformers) 2.417 Downloading torch-2.5.0-cp313-cp313-manylinux1_x86_64.whl.metadata (28 kB) 2.596 Collecting scikit-learn (from sentence-transformers) 2.615 Downloading scikit_learn-1.5.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (13 kB) 2.837 Collecting scipy (from sentence-transformers) 2.858 Downloading scipy-1.14.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB) 2.982 Collecting huggingface-hub>=0.20.0 (from sentence-transformers) 3.003 Downloading huggingface_hub-0.26.1-py3-none-any.whl.metadata (13 kB) 3.406 Collecting Pillow (from sentence-transformers) 3.427 Downloading pillow-11.0.0-cp313-cp313-manylinux_2_28_x86_64.whl.metadata (9.1 kB) 3.520 Collecting notebook (from jupyter) 3.541 Downloading notebook-7.2.2-py3-none-any.whl.metadata (10 kB) 3.588 Collecting jupyter-console (from jupyter) 3.607 Downloading jupyter_console-6.6.3-py3-none-any.whl.metadata (5.8 kB) 3.703 Collecting nbconvert (from jupyter) 3.722 Downloading nbconvert-7.16.4-py3-none-any.whl.metadata (8.5 kB) 3.814 Collecting ipykernel (from jupyter) 3.833 Downloading ipykernel-6.29.5-py3-none-any.whl.metadata (6.3 kB) 3.910 Collecting ipywidgets (from jupyter) 3.935 Downloading ipywidgets-8.1.5-py3-none-any.whl.metadata (2.3 kB) 4.174 Collecting jupyterlab (from jupyter) 4.194 Downloading jupyterlab-4.2.5-py3-none-any.whl.metadata (16 kB) 4.250 Collecting iniconfig (from pytest) 4.269 Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB) 4.325 Collecting packaging (from pytest) 4.345 Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB) 4.395 Collecting pluggy<2,>=1.5 (from pytest) 4.413 Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB) 4.471 Collecting filelock (from huggingface-hub>=0.20.0->sentence-transformers) 4.489 Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB) 4.554 Collecting fsspec>=2023.5.0 (from huggingface-hub>=0.20.0->sentence-transformers) 4.572 Downloading fsspec-2024.10.0-py3-none-any.whl.metadata (11 kB) 4.698 Collecting pyyaml>=5.1 (from huggingface-hub>=0.20.0->sentence-transformers) 4.717 Downloading PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) 4.790 Collecting requests (from huggingface-hub>=0.20.0->sentence-transformers) 4.811 Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) 4.891 Collecting typing-extensions>=3.7.4.3 (from huggingface-hub>=0.20.0->sentence-transformers) 4.909 Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) 4.984 Collecting networkx (from torch>=1.11.0->sentence-transformers) 5.003 Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB) 5.055 Collecting jinja2 (from torch>=1.11.0->sentence-transformers) 5.074 Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) 5.113 Collecting nvidia-cuda-nvrtc-cu12==12.4.127 (from torch>=1.11.0->sentence-transformers) 5.131 Downloading nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB) 5.170 Collecting nvidia-cuda-runtime-cu12==12.4.127 (from torch>=1.11.0->sentence-transformers) 5.189 Downloading nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB) 5.222 Collecting nvidia-cuda-cupti-cu12==12.4.127 (from torch>=1.11.0->sentence-transformers) 5.240 Downloading nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB) 5.279 Collecting nvidia-cudnn-cu12==9.1.0.70 (from torch>=1.11.0->sentence-transformers) 5.297 Downloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB) 5.337 Collecting nvidia-cublas-cu12==12.4.5.8 (from torch>=1.11.0->sentence-transformers) 5.355 Downloading nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB) 5.393 Collecting nvidia-cufft-cu12==11.2.1.3 (from torch>=1.11.0->sentence-transformers) 5.411 Downloading nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB) 5.450 Collecting nvidia-curand-cu12==10.3.5.147 (from torch>=1.11.0->sentence-transformers) 5.472 Downloading nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB) 5.510 Collecting nvidia-cusolver-cu12==11.6.1.9 (from torch>=1.11.0->sentence-transformers) 5.529 Downloading nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB) 5.574 Collecting nvidia-cusparse-cu12==12.3.1.170 (from torch>=1.11.0->sentence-transformers) 5.593 Downloading nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB) 5.631 Collecting nvidia-nccl-cu12==2.21.5 (from torch>=1.11.0->sentence-transformers) 5.650 Downloading nvidia_nccl_cu12-2.21.5-py3-none-manylinux2014_x86_64.whl.metadata (1.8 kB) 5.691 Collecting nvidia-nvtx-cu12==12.4.127 (from torch>=1.11.0->sentence-transformers) 5.709 Downloading nvidia_nvtx_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.7 kB) 5.747 Collecting nvidia-nvjitlink-cu12==12.4.127 (from torch>=1.11.0->sentence-transformers) 5.765 Downloading nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB) 6.066 Collecting setuptools (from torch>=1.11.0->sentence-transformers) 6.085 Downloading setuptools-75.2.0-py3-none-any.whl.metadata (6.9 kB) 6.152 Collecting sympy==1.13.1 (from torch>=1.11.0->sentence-transformers) 6.174 Downloading sympy-1.13.1-py3-none-any.whl.metadata (12 kB) 6.227 Collecting mpmath<1.4,>=1.1.0 (from sympy==1.13.1->torch>=1.11.0->sentence-transformers) 6.247 Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) 6.583 Collecting numpy>=1.17 (from transformers<5.0.0,>=4.41.0->sentence-transformers) 6.602 Downloading numpy-2.1.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB) 7.350 Collecting regex!=2019.12.17 (from transformers<5.0.0,>=4.41.0->sentence-transformers) 7.377 Downloading regex-2024.9.11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB) 7.628 Collecting safetensors>=0.4.1 (from transformers<5.0.0,>=4.41.0->sentence-transformers) 7.649 Downloading safetensors-0.4.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB) 7.999 Collecting tokenizers<0.21,>=0.20 (from transformers<5.0.0,>=4.41.0->sentence-transformers) 8.019 Downloading tokenizers-0.20.1.tar.gz (339 kB) 8.215 Installing build dependencies: started 12.89 Installing build dependencies: finished with status 'done' 12.89 Getting requirements to build wheel: started 12.95 Getting requirements to build wheel: finished with status 'done' 12.95 Preparing metadata (pyproject.toml): started 12.99 Preparing metadata (pyproject.toml): finished with status 'error' 12.99 error: subprocess-exited-with-error 12.99 12.99 × Preparing metadata (pyproject.toml) did not run successfully. 12.99 │ exit code: 1 12.99 ╰─> [6 lines of output] 12.99 12.99 Cargo, the Rust package manager, is not installed or is not on PATH. 12.99 This package requires Rust and Cargo to compile extensions. Install it through 12.99 the system's package manager or via https://rustup.rs/ 12.99 12.99 Checking for Rust toolchain.... 12.99 [end of output] 12.99 12.99 note: This error originates from a subprocess, and is likely not a problem with pip. 13.19 error: metadata-generation-failed 13.19 13.19 × Encountered error while generating package metadata. 13.19 ╰─> See above for output. 13.19 13.19 note: This is an issue with the package mentioned above, not pip. 13.19 hint: See above for details. ------ failed to solve: process "/bin/sh -c pip install sentence-transformers jupyter pytest" did not complete successfully: exit code: 1
Here is my environment:
Joses-MacBook-Pro:hazelcast-image-search colljos$ pip --version pip 24.2 from /usr/local/lib/python3.13/site-packages/pip (python 3.13) Joses-MacBook-Pro:hazelcast-image-search colljos$ cargo --version cargo 1.82.0
The text was updated successfully, but these errors were encountered:
naadhira
No branches or pull requests
Hi, I have some feedback about this page
Tutorial Setup step 2 continuously fails:
Error output:
Here is my environment:
The text was updated successfully, but these errors were encountered: