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

Latest version of accelerate generates error #157

Open
niko2020 opened this issue Dec 9, 2024 · 1 comment
Open

Latest version of accelerate generates error #157

niko2020 opened this issue Dec 9, 2024 · 1 comment

Comments

@niko2020
Copy link

niko2020 commented Dec 9, 2024

venv/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 1415, in infer_auto_device_map
current_max_size = max_memory[device] if device != "disk" else None
TypeError: 'NoneType' object is not subscriptable

=> solution accelerate==1.1.1

@fuzhao119
Copy link

venv/lib/python3.10/site-packages/accelerate/utils/modeling.py“,第 1415 行,infer_auto_device_map current_max_size = max_memory[device] if device != ”disk“ else None TypeError: 'NoneType' 对象不可下标

=>方案加速==1.1.1

Locate the brushnet_nodes.py script in the custom_nodes\ComfyUI-BrushNet directory, search for sequential, and replace it with balanced_low_0.

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

2 participants