The issue: original used docker compose instead of docker-compose, which lead to issues (docker compose does NOT support -f flag.)
other details:
BEFORE:
❯ sudo ./run.sh --model 7b --with-cuda
unknown shorthand flag: 'f' in -f
See 'docker --help'.
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Common Commands:
run Create and run a new container from an image
exec Execute a command in a running container
ps List containers
...
then i analyzed how run.sh was made, and added the change
AFTER:
❯ sudo ./run.sh --model 7b --with-cuda
WARN[0000] /home/<hidden>/projects/llamagpt/llama-gpt/docker-compose-cuda-ggml.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Building 30.2s (4/28)
...
The issue: original used
docker compose
instead ofdocker-compose
, which lead to issues (docker compose
does NOT support -f flag.)other details:
BEFORE:
then i analyzed how
run.sh
was made, and added the changeAFTER:
(i just made an install so it started compiling)