Skip to content

I'm trying to train a lora and I'm getting this error -->"mean ar error"

Does anyone know how to solve this? I've searched for answers and nothing.

​

mean ar error (without repeats): 0.0910517053070014

prepare accelerator

Traceback (most recent call last):

File "C:\Users\kingo\Documents\Kohya\kohya_ss\train_network.py", line 659, in <module>

train(args)

File "C:\Users\kingo\Documents\Kohya\kohya_ss\train_network.py", line 108, in train

accelerator, unwrap_model = train_util.prepare_accelerator(args)

File "C:\Users\kingo\Documents\Kohya\kohya_ss\library\train_util.py", line 1984, in prepare_accelerator

accelerator = Accelerator(gradient_accumulation_steps=args.gradient_accumulation_steps, mixed_precision=args.mixed_precision,

File "C:\Users\kingo\Documents\Kohya\kohya_ss\venv\lib\site-packages\accelerate\accelerator.py", line 355, in __init__

raise ValueError(err.format(mode="fp16", requirement="a GPU"))

ValueError: fp16 mixed precision requires a GPU

Traceback (most recent call last):

File "C:\Users\kingo\Documents\lib\runpy.py", line 196, in _run_module_as_main

return _run_code(code, main_globals, None,

File "C:\Users\kingo\Documents\lib\runpy.py", line 86, in _run_code

exec(code, run_globals)

File "C:\Users\kingo\Documents\Kohya\kohya_ss\venv\Scripts\accelerate.exe\__main__.py", line 7, in <module>

File "C:\Users\kingo\Documents\Kohya\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 45, in main

args.func(args)

File "C:\Users\kingo\Documents\Kohya\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1104,

2 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 67% up
Kind
Text
ID
11ticgr

Author

20
posts
76
comments
15
media
View profile
No comments archived yet. Reddit counts 3.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.