For Windows
- Download and Unzip file from https://github.com/hiyouga/LLaMA-Factory and Unzip
- Install rustup‑init.exe from https://rustup.rs/
- Use Anconda create a env and activate
- Install Anconda ( https://www.anaconda.com/download )
- Install Python ( https://www.python.org/downloads/ )
- Install Pytorch ( https://pytorch.org/get-started/locally/ , just use conda to install 12.x )
- # Test CUDA with GPU
- python
- >> import torch
- >> torch.cuda.is_available()
- true
- cd llama-factory directory
- pip install -r requirements.txt
- pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.39.1-py3-none-win_amd64.whl
- python .\src\train_web.py
- Open localhost:7860 and Train your LLM
沒有留言:
張貼留言