ipex-llm/python/llm/example/GPU/LLM-Finetuning
2024-03-21 16:01:01 +08:00
..
common LLM: reorganize GPU finetuning examples (#9952) 2024-01-25 19:02:38 +08:00
DPO LLM: Add initial DPO finetuning example (#10021) 2024-02-01 14:18:08 +08:00
HF-PEFT LLM: add patching function for llm finetuning (#10247) 2024-03-21 16:01:01 +08:00
LoRA LLM: update FAQ about too many open files (#10119) 2024-02-07 15:02:24 +08:00
QA-LoRA LLM: update FAQ about too many open files (#10119) 2024-02-07 15:02:24 +08:00
QLoRA LLM: fix deepspeed error of finetuning on xpu (#10484) 2024-03-21 09:46:25 +08:00
ReLora LLM: update FAQ about too many open files (#10119) 2024-02-07 15:02:24 +08:00
README.md LLM: add patching function for llm finetuning (#10247) 2024-03-21 16:01:01 +08:00

Running LLM Finetuning using BigDL-LLM on Intel GPU

This folder contains examples of running different training mode with BigDL-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

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.