Update llm-finetune-lora-cpu dockerfile and readme
* Update README.md * Update Dockerfile
This commit is contained in:
parent
2e3bfbfe1f
commit
4df66f5cbc
2 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ RUN mkdir /bigdl/data && mkdir /bigdl/model && \
|
||||||
apt-get install -y python3-pip python3.9-dev python3-wheel git software-properties-common && \
|
apt-get install -y python3-pip python3.9-dev python3-wheel git software-properties-common && \
|
||||||
pip3 install --upgrade pip && \
|
pip3 install --upgrade pip && \
|
||||||
export PIP_DEFAULT_TIMEOUT=100 && \
|
export PIP_DEFAULT_TIMEOUT=100 && \
|
||||||
pip install --upgrade torch==2.0.1 --index-url https://download.pytorch.org/whl/cpu && \
|
pip install --upgrade torch==2.1.0 --index-url https://download.pytorch.org/whl/cpu && \
|
||||||
# install ipex and oneccl
|
# install ipex and oneccl
|
||||||
pip install intel_extension_for_pytorch==2.0.100 && \
|
pip install intel_extension_for_pytorch==2.0.100 && \
|
||||||
pip install oneccl_bind_pt -f https://developer.intel.com/ipex-whl-stable && \
|
pip install oneccl_bind_pt -f https://developer.intel.com/ipex-whl-stable && \
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ docker run -itd \
|
||||||
-e WORKER_COUNT_DOCKER=your_worker_count \
|
-e WORKER_COUNT_DOCKER=your_worker_count \
|
||||||
-v your_downloaded_base_model_path:/bigdl/model \
|
-v your_downloaded_base_model_path:/bigdl/model \
|
||||||
-v your_downloaded_data_path:/bigdl/data/alpaca_data_cleaned_archive.json \
|
-v your_downloaded_data_path:/bigdl/data/alpaca_data_cleaned_archive.json \
|
||||||
intelanalytics/bigdl-llm-finetune-cpu:2.4.0-SNAPSHOT \
|
intelanalytics/bigdl-llm-finetune-lora-cpu:2.4.0-SNAPSHOT \
|
||||||
bash
|
bash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue