mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	Make docker instructions more explicit (#785)
This commit is contained in:
		| @@ -350,20 +350,22 @@ We have two Docker images available for this project: | |||||||
|  |  | ||||||
| The easiest way to download the models, convert them to ggml and optimize them is with the --all-in-one command which includes the full docker image. | The easiest way to download the models, convert them to ggml and optimize them is with the --all-in-one command which includes the full docker image. | ||||||
|  |  | ||||||
|  | Replace `/path/to/models` below with the actual path where you downloaded the models. | ||||||
|  |  | ||||||
|  ```bash |  ```bash | ||||||
| docker run -v /llama/models:/models ghcr.io/ggerganov/llama.cpp:full --all-in-one "/models/" 7B | docker run -v /path/to/models:/models ghcr.io/ggerganov/llama.cpp:full --all-in-one "/models/" 7B | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| On complete, you are ready to play! | On complete, you are ready to play! | ||||||
|  |  | ||||||
| ```bash | ```bash | ||||||
| docker run -v /llama/models:/models ghcr.io/ggerganov/llama.cpp:full --run -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512 | docker run -v /path/to/models:/models ghcr.io/ggerganov/llama.cpp:full --run -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512 | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| or with light image: | or with light image: | ||||||
|  |  | ||||||
| ```bash | ```bash | ||||||
| docker run -v /llama/models:/models ghcr.io/ggerganov/llama.cpp:light -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512 | docker run -v /path/to/models:/models ghcr.io/ggerganov/llama.cpp:light -m /models/7B/ggml-model-q4_0.bin -p "Building a website can be done in 10 simple steps:" -n 512 | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| ### Contributing | ### Contributing | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Pavol Rusnak
					Pavol Rusnak