mnm-matin commited on
Commit
71dcf26
·
verified ·
1 Parent(s): 1c3c656

Use CPU-only PyTorch to fit free-tier build limits

Browse files
Dockerfile CHANGED
@@ -23,8 +23,10 @@ RUN pip install --upgrade pip
23
 
24
  ARG HYPERVIEW_VERSION=0.3.1
25
 
26
- # Install the released PyPI package plus the ML stack needed for timm-image.
27
- RUN pip install "hyperview[ml]==${HYPERVIEW_VERSION}" \
 
 
28
  && python -c "import hyperview; print('hyperview', hyperview.__version__)"
29
 
30
  COPY --chown=user demo.py ./demo.py
 
23
 
24
  ARG HYPERVIEW_VERSION=0.3.1
25
 
26
+ # Install CPU-only PyTorch first (much smaller than default CUDA bundle),
27
+ # then the released HyperView package with the ML extras.
28
+ RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu \
29
+ && pip install "hyperview[ml]==${HYPERVIEW_VERSION}" \
30
  && python -c "import hyperview; print('hyperview', hyperview.__version__)"
31
 
32
  COPY --chown=user demo.py ./demo.py
__pycache__/demo.cpython-312.pyc ADDED
Binary file (2.31 kB). View file
 
vendor/hyperview/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (564 Bytes). View file
 
vendor/hyperview/__pycache__/_version.cpython-312.pyc ADDED
Binary file (885 Bytes). View file
 
vendor/hyperview/__pycache__/api.cpython-312.pyc ADDED
Binary file (18.2 kB). View file
 
vendor/hyperview/core/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (428 Bytes). View file
 
vendor/hyperview/core/__pycache__/dataset.cpython-312.pyc ADDED
Binary file (33.9 kB). View file
 
vendor/hyperview/core/__pycache__/sample.cpython-312.pyc ADDED
Binary file (5.55 kB). View file
 
vendor/hyperview/core/__pycache__/selection.cpython-312.pyc ADDED
Binary file (15.1 kB). View file
 
vendor/hyperview/embeddings/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (1.14 kB). View file
 
vendor/hyperview/embeddings/__pycache__/compute.cpython-312.pyc ADDED
Binary file (5.13 kB). View file
 
vendor/hyperview/embeddings/__pycache__/engine.cpython-312.pyc ADDED
Binary file (15.8 kB). View file
 
vendor/hyperview/embeddings/providers/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (478 Bytes). View file
 
vendor/hyperview/embeddings/providers/__pycache__/lancedb_providers.cpython-312.pyc ADDED
Binary file (18.9 kB). View file
 
vendor/hyperview/server/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (362 Bytes). View file
 
vendor/hyperview/server/__pycache__/app.cpython-312.pyc ADDED
Binary file (23 kB). View file
 
vendor/hyperview/storage/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (686 Bytes). View file
 
vendor/hyperview/storage/__pycache__/backend.cpython-312.pyc ADDED
Binary file (10.2 kB). View file
 
vendor/hyperview/storage/__pycache__/config.cpython-312.pyc ADDED
Binary file (3.73 kB). View file
 
vendor/hyperview/storage/__pycache__/lancedb_backend.cpython-312.pyc ADDED
Binary file (41.4 kB). View file
 
vendor/hyperview/storage/__pycache__/memory_backend.cpython-312.pyc ADDED
Binary file (19.1 kB). View file
 
vendor/hyperview/storage/__pycache__/schema.cpython-312.pyc ADDED
Binary file (15.2 kB). View file