Update readme for error: fp16 ... requires a GPU

This commit is contained in:
Kohya S
2023-01-07 12:29:03 +09:00
parent d62725b644
commit cbfe8126d6
2 changed files with 12 additions and 3 deletions

View File

@@ -89,14 +89,18 @@ accelerate configの質問には以下のように答えてください。bf1
※0.15.0から日本語環境では選択のためにカーソルキーを押すと落ちます……。数字キーの0、1、2……で選択できますので、そちらを使ってください。
```txt
- 0
- 0
- This machine
- No distributed training
- NO
- NO
- All
- NO
- all
- fp16
```
※場合によって ``ValueError: fp16 mixed precision requires a GPU`` というエラーが出ることがあるようです。この場合、6番目の質問
``What GPU(s) (by id) should be used for training on this machine as a comma-seperated list? [all]:``に「0」と答えてください。id `0`のGPUが使われます。
## アップグレード
新しいリリースがあった場合、以下のコマンドで更新できます。

View File

@@ -76,6 +76,11 @@ Answers to accelerate config:
- fp16
```
note: Some user reports ``ValueError: fp16 mixed precision requires a GPU`` is occured in training. In this case, answer `0` for the 6th question:
``What GPU(s) (by id) should be used for training on this machine as a comma-seperated list? [all]:``
(Single GPU with id `0` will be used.)
## Upgrade
When a new release comes out you can upgrade your repo with the following command: