Skip to content

docker python image seems to need an update/fix to run + torch problem on mac #372

@emilienschultz

Description

@emilienschultz

Hello, i tried SMART, and I had some trouble running the docker.

The image python:3.8-buster used in backend docker rely on a debian that have been archived

I modified the file backend/docker/Dockerfile to compose the docker with :

RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g' /etc/apt/sources.list &&
sed -i 's|security.debian.org/debian-security|archive.debian.org/debian-security|g' /etc/apt/sources.list &&
printf 'Acquire::Check-Valid-Until "false";\n' > /etc/apt/apt.conf.d/99no-check-valid

Plus, I encountered a problem to run in mac with the distribution of torch. I changed the version to the following

torch==2.1.0
torchvision==0.16.0
sentence-transformers==2.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions