comfyanonymous / ComfyUI_bitsandbytes_NF4

GNU Affero General Public License v3.0
335 stars 29 forks source link

"fill_empty_deterministic_" not implemented for 'Float8_e4m3fn' #37

Open jeffreyrobeson opened 3 months ago

jeffreyrobeson commented 3 months ago

Error occurred when executing CheckpointLoaderNF4:

"fill_emptydeterministic" not implemented for 'Float8_e4m3fn'

File "F:\aigc\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\aigc\ComfyUI-aki-v1.3\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\aigc\ComfyUI-aki-v1.3\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "F:\aigc\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_bitsandbytes_NF4__init.py", line 178, in load_checkpoint out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"), model_options={"custom_operations": OPS}) File "F:\aigc\ComfyUI-aki-v1.3\comfy\sd.py", line 511, in load_checkpoint_guess_config out = load_state_dict_guess_config(sd, output_vae, output_clip, output_clipvision, embedding_directory, output_model, model_options) File "F:\aigc\ComfyUI-aki-v1.3\comfy\sd.py", line 552, in load_state_dict_guess_config model = model_config.get_model(sd, diffusion_model_prefix, device=inital_load_device) File "F:\aigc\ComfyUI-aki-v1.3\comfy\supported_models.py", line 651, in get_model out = model_base.Flux(self, device=device) File "F:\aigc\ComfyUI-aki-v1.3\comfy\model_base.py", line 707, in init super().init(model_config, model_type, device=device, unet_model=comfy.ldm.flux.model.Flux) File "F:\aigc\ComfyUI-aki-v1.3\comfy\model_base.py", line 105, in init__ self.diffusion_model = unet_model(unet_config, device=device, operations=operations) File "F:\aigc\ComfyUI-aki-v1.3\comfy\ldm\flux\model.py", line 58, in init self.img_in = operations.Linear(self.in_channels, self.hidden_size, bias=True, dtype=dtype, device=device) File "F:\aigc\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_bitsandbytes_NF4__init.py", line 139, in init super().init(device=device, dtype=dtype, quant_type=current_bnb_dtype) File "F:\aigc\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_bitsandbytes_NF4\init.py", line 77, in init__ self.dummy = torch.nn.Parameter(torch.empty(1, device=device, dtype=dtype))

关闭