Skip to content

Commit

Permalink
modify entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mshannon-sil committed Jul 5, 2023
1 parent 413a790 commit e02b37c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2
./aws/install && \
rm awscliv2.zip
RUN rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "/bin/bash", "-it" ]
ENTRYPOINT [ "/bin/bash", "-l", "-c" ]
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2
./aws/install && \
rm awscliv2.zip
RUN rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "/bin/bash", "-it" ]
ENTRYPOINT [ "/bin/bash", "-l", "-c" ]
3 changes: 2 additions & 1 deletion silnlp/nmt/clearml_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def __post_init__(self) -> None:
self._load_config()

self.task.set_base_docker(
docker_image="nvidia/cuda:11.2.2-cudnn8-runtime-ubuntu20.04"
docker_image="ghcr.io/sillsdev/silnlp:latest",
docker_arguments="-v /home/clearml/.clearml/hf-cache:/root/.cache/huggingface"
)
if self.queue_name.lower() not in ("local", "locally"):
self.task.execute_remotely(queue_name=self.queue_name)
Expand Down

0 comments on commit e02b37c

Please sign in to comment.