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

Issues running #26

Open
binnnnnny opened this issue Jan 25, 2024 · 3 comments
Open

Issues running #26

binnnnnny opened this issue Jan 25, 2024 · 3 comments

Comments

@binnnnnny
Copy link

Hi, Thank you for your great work.

When I try to run training code

!accelerate launch --mixed_precision fp16 train_t2i_custom_v2.py --config=configs/custom.py\

I receive the following error:

TypeError: __init__() got an unexpected keyword argument 'debug'

Thanks in advance :)

@zideliu
Copy link
Owner

zideliu commented Jan 26, 2024

Can you provide more detailed error information? For example, which file reported an error?

@isabellapu
Copy link

I get the same problem:

/usr/lib/python3/dist-packages/requests/init.py:87: RequestsDependencyWarning: urllib3 (2.1.0) or chardet (4.0.0) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "/u/ipu/.local/bin/accelerate", line 8, in
sys.exit(main())
File "/u/ipu/.local/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 43, in main
args.func(args)
File "/u/ipu/.local/lib/python3.10/site-packages/accelerate/commands/launch.py", line 747, in launch_command
defaults = load_config_from_file(args.config_file)
File "/u/ipu/.local/lib/python3.10/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 "/u/ipu/.local/lib/python3.10/site-packages/accelerate/commands/config/config_args.py", line 117, in from_yaml_file
return cls(**config_dict)
TypeError: ClusterConfig.init() got an unexpected keyword argument 'debug'

@zideliu
Copy link
Owner

zideliu commented Jan 28, 2024

I think this is probably a problem with the running environment? You can see the link below to install
Dependencies here

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

3 participants