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 && \
|
||||
pip3 install --upgrade pip && \
|
||||
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
|
||||
pip install intel_extension_for_pytorch==2.0.100 && \
|
||||
pip install oneccl_bind_pt -f https://developer.intel.com/ipex-whl-stable && \
|
||||
|
|
@ -61,4 +61,4 @@ COPY ./lora_finetune.py /bigdl/lora_finetune.py
|
|||
|
||||
RUN chown -R mpiuser /bigdl
|
||||
USER mpiuser
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ docker run -itd \
|
|||
-e WORKER_COUNT_DOCKER=your_worker_count \
|
||||
-v your_downloaded_base_model_path:/bigdl/model \
|
||||
-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
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue