Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: ClusterConfig.__init__() got an unexpected keyword argument 'downcase_fp16' #564

Closed
YKefasu opened this issue Apr 7, 2023 · 1 comment

Comments

@YKefasu
Copy link

YKefasu commented Apr 7, 2023

Traceback (most recent call last):
File "C:\Users\yosia\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\yosia\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\KOh\kohya_ss\venv\Scripts\accelerate.exe_main
.py", line 7, in
File "C:\KOh\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 45, in main
args.func(args)
File "C:\KOh\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1000, in launch_command
defaults = load_config_from_file(args.config_file)
File "C:\KOh\kohya_ss\venv\lib\site-packages\accelerate\commands\config\config_args.py", line 64, in load_config_from_file
return config_class.from_yaml_file(yaml_file=config_file)
File "C:\KOh\kohya_ss\venv\lib\site-packages\accelerate\commands\config\config_args.py", line 122, in from_yaml_file
return cls(**config_dict)
TypeError: ClusterConfig.init() got an unexpected keyword argument 'downcase_fp16'

@YKefasu
Copy link
Author

YKefasu commented Apr 7, 2023

image
solved by removing downcase_fp16: 'NO' line in C:\Users\<username>/.cache\huggingface\accelerate\default_config.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant