Add WANDB_MODE and HF_HUB_OFFLINE to XPU finetune README (#11097)

* Add WANDB_MODE=offline to avoid multi-GPUs finetune errors.
* Add HF_HUB_OFFLINE=1 to avoid Hugging Face related errors.
This commit is contained in:
Qiyuan Gong 2024-05-22 15:20:53 +08:00 committed by GitHub
parent 1c5ed9b6cf
commit f6c9ffe4dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,3 +29,15 @@ This folder contains examples of running different training mode with IPEX-LLM o
Please try `sudo apt install level-zero-dev` to fix it. 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`. - Please raise the system open file limit using `ulimit -n 1048576`. Otherwise, there may exist error `Too many open files`.
- If application raise `wandb.errors.UsageError: api_key not configured (no-tty)`. Please login wandb or disable wandb login with this command:
```bash
export WANDB_MODE=offline
```
- If application raise Hugging Face related errors, i.e., `NewConnectionError` or `Failed to download` etc. Please download models and datasets, set model and data path, then set `HF_HUB_OFFLINE` with this command:
```bash
export HF_HUB_OFFLINE=1
```