Skip to content

Commit

Permalink
fix dockerfile with torch
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicvaz committed Dec 4, 2023
1 parent 9fe608d commit 6c612b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dependencies/Dockerfile_summarizer
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ COPY .domino domino/pieces_repository/.domino

# Install specific python dependencies
RUN pip install transformers==4.34.1
RUN pip install torch -f https://download.pytorch.org/whl/cu118/torch_stable.html

# Dowload transformers model
RUN python -c "import huggingface_hub; huggingface_hub.snapshot_download('facebook/bart-large-cnn')"

0 comments on commit 6c612b3

Please sign in to comment.