From 451f91080cbfa04f697fe887e18628e3866be5eb Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Mon, 17 Mar 2025 19:29:53 +0800 Subject: [PATCH] Revert compose to cached .tgz by default. --- README.md | 13 ++++++++++++- docker-compose.yml | 6 +++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5cdb798..5b0e464 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,18 @@ Then launch your web browser to http://localhost:3000 to launch the web ui. Cre ## Update to the latest IPEX-LLM Portable Zip Version -To update to the latest portable zip version of IPEX-LLM's Ollama, update the compose file's `IPEXLLM_PORTABLE_ZIP_FILENAME` build argument to the latest `ollama-*.tgz` release from https://github.com/intel/ipex-llm/releases/tag/v2.2.0-nightly , then rebuild the image. +To update to the latest portable zip version of IPEX-LLM's Ollama, update the compose file with the build arguments shown below, using the latest `ollama-*.tgz` release from https://github.com/intel/ipex-llm/releases/tag/v2.2.0-nightly , then rebuild the image. + +```yaml +ollama-intel-gpu: + build: + context: . + dockerfile: Dockerfile + args: + IPEXLLM_RELEASE_REPO: intel/ipex-llm + IPEXLLM_RELEASE_VERSON: v2.2.0-nightly + IPEXLLM_PORTABLE_ZIP_FILENAME: ollama-ipex-llm-2.2.0b20250313-ubuntu.tgz +``` # References * https://dgpu-docs.intel.com/driver/client/overview.html diff --git a/docker-compose.yml b/docker-compose.yml index dc2b937..0301a2c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,9 +4,9 @@ services: context: . dockerfile: Dockerfile args: - IPEXLLM_RELEASE_REPO: intel/ipex-llm - IPEXLLM_RELEASE_VERSON: v2.2.0-nightly - IPEXLLM_PORTABLE_ZIP_FILENAME: ollama-ipex-llm-2.2.0b20250313-ubuntu.tgz # update from https://github.com/intel/ipex-llm/releases/tag/v2.2.0-nightly + IPEXLLM_RELEASE_REPO: mattcurf/ollama-intel-gpu + IPEXLLM_RELEASE_VERSON: v0.0.1 + IPEXLLM_PORTABLE_ZIP_FILENAME: ollama-0.5.4-ipex-llm-2.2.0b20250220-ubuntu.tgz container_name: ollama-intel-gpu restart: always devices: