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

m1 max,No GPU found. A GPU is needed for quantization. #22

Open
yiwangsimple opened this issue Jun 6, 2024 · 2 comments
Open

m1 max,No GPU found. A GPU is needed for quantization. #22

yiwangsimple opened this issue Jun 6, 2024 · 2 comments

Comments

@yiwangsimple
Copy link

Error occurred when executing OmostLLMLoaderNode:

No GPU found. A GPU is needed for quantization.

File "/Users/weiwei/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/Users/weiwei/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/Users/weiwei/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/Users/weiwei/ComfyUI/custom_nodes/ComfyUI_omost/omost_nodes.py", line 99, in load_llm
llm_model = AutoModelForCausalLM.from_pretrained(
File "/Users/weiwei/Envs/comfyui/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 563, in from_pretrained
return model_class.from_pretrained(
File "/Users/weiwei/Envs/comfyui/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3202, in from_pretrained
hf_quantizer.validate_environment(
File "/Users/weiwei/Envs/comfyui/lib/python3.10/site-packages/transformers/quantizers/quantizer_bnb_4bit.py", line 62, in validate_environment
raise RuntimeError("No GPU found. A GPU is needed for quantization.")

@chingakushin
Copy link

same of this

@TorAllex
Copy link

TorAllex commented Jul 7, 2024

which bitsandbytes installed?
we need mps support

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