ipex-llm/python/llm/example/GPU/LLM-Finetuning
Ziteng Zhang 7d3791c819
[LLM] Add llama3 alpaca qlora example (#11011)
* Add llama3 finetune example based on alpaca qlora example
2024-05-15 09:17:32 +08:00
..
axolotl Add axolotl main support and axolotl Llama-3-8B QLoRA example (#10984) 2024-05-14 13:43:59 +08:00
common Refactor bigdl.llm to ipex_llm (#24) 2024-03-22 15:41:21 +08:00
DPO Upgrade Peft to 0.10.0 in finetune examples and docker (#10930) 2024-05-07 15:12:26 +08:00
GaLore fix missing import (#10839) 2024-04-22 14:34:52 +08:00
HF-PEFT Upgrade Peft version to 0.10.0 for LLM finetune (#10886) 2024-05-07 15:09:14 +08:00
LISA LISA Finetuning Example (#10743) 2024-04-18 13:48:10 +08:00
LoRA Upgrade Peft to 0.10.0 in finetune examples and docker (#10930) 2024-05-07 15:12:26 +08:00
QA-LoRA Upgrade Peft to 0.10.0 in finetune examples and docker (#10930) 2024-05-07 15:12:26 +08:00
QLoRA [LLM] Add llama3 alpaca qlora example (#11011) 2024-05-15 09:17:32 +08:00
ReLora Upgrade Peft to 0.10.0 in finetune examples and docker (#10930) 2024-05-07 15:12:26 +08:00
README.md Add axolotl v0.3.0 with ipex-llm on Intel GPU (#10717) 2024-04-10 14:38:29 +08:00

Running LLM Finetuning using IPEX-LLM on Intel GPU

This folder contains examples of running different training mode with IPEX-LLM on Intel GPU:

  • LoRA: examples of running LoRA finetuning
  • QLoRA: examples of running QLoRA finetuning
  • QA-LoRA: examples of running QA-LoRA finetuning
  • ReLora: examples of running ReLora finetuning
  • DPO: examples of running DPO finetuning
  • common: common templates and utility classes in finetuning examples
  • HF-PEFT: run finetuning on Intel GPU using Hugging Face PEFT code without modification
  • axolotl: LLM finetuning on Intel GPU using axolotl without writing code

Troubleshooting

  • If you fail to finetune on multi cards because of following error message:

    RuntimeError: oneCCL: comm_selector.cpp:57 create_comm_impl: EXCEPTION: ze_data was not initialized
    

    Please try sudo apt install level-zero-dev to fix it.

  • Please raise the system open file limit using ulimit -n 1048576. Otherwise, there may exist error Too many open files.