Comfy-Org / Comfy-Org/ComfyUI

ComfyUI - Florence2Model - Error no file named

Open
#6,491 0 comments 1 reaction 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Your question

I Have an Error "DownloadAndLoadFlorence2Model"
Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\LLM\Florence-2-large-PromptGen-v2.0.

### Logs

```powershell
ComfyUI Error Report
## Error Details
- **Node ID:** 27
- **Node Type:** DownloadAndLoadFlorence2Model
- **Exception Type:** OSError
- **Exception Message:** Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\LLM\Florence-2-large-PromptGen-v2.0.
## Stack Trace

File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)

File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2-main\nodes.py", line 101, in loadmodel
model = AutoModelForCausalLM.from_pretrained(model_path, attn_implementation=attention, device_map=device, torch_dtype=dtype,trust_remote_code=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "K:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\models\auto\auto_factory.py", line 559, in from_pretrained
return model_class.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "K:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\modeling_utils.py", line 3779, in from_pretrained
raise EnvironmentError(

## System Information
- **ComfyUI Version:** 0.3.10
- **Arguments:** ComfyUI\main.py
- **OS:** nt
- **Python Version:** 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
- **Embedded Python:** true
- **PyTorch Version:** 2.5.1+cu124
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 12884377600
- **VRAM Free:** 11793334272
- **Torch VRAM Total:** 0
- **Torch VRAM Free:** 0

## Logs

2025-01-16T20:58:53.076945 - [START] Security scan2025-01-16T20:58:53.076945 -
2025-01-16T20:58:54.112178 - [DONE] Security scan2025-01-16T20:58:54.112178 -
2025-01-16T20:58:54.240207 - ## ComfyUI-Manager: installing dependencies done.2025-01-16T20:58:54.240207 -
2025-01-16T20:58:54.240207 - ** ComfyUI startup time:2025-01-16T20:58:54.240207 - 2025-01-16T20:58:54.240207 - 2025-01-16 20:58:54.2402025-01-16T20:58:54.240207 -
2025-01-16T20:58:54.240207 - ** Platform:2025-01-16T20:58:54.240207 - 2025-01-16T20:58:54.240207 - Windows2025-01-16T20:58:54.240207 -
2025-01-16T20:58:54.240207 - ** Python version:2025-01-16T20:58:54.240207 - 2025-01-16T20:58:54.240207 - 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]2025-01-16T20:58:54.241208 -
2025-01-16T20:58:54.241208 - ** Python executable:2025-01-16T20:58:54.241208 - 2025-01-16T20:58:54.241208 - K:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe2025-01-16T20:58:54.241208 -
2025-01-16T20:58:54.241208 - ** ComfyUI Path:2025-01-16T20:58:54.241208 - 2025-01-16T20:58:54.241208 - K:\ComfyUI\ComfyUI_windows_portable\ComfyUI2025-01-16T20:58:54.241208 -
2025-01-16T20:58:54.241208 - ** User directory:2025-01-16T20:58:54.241208 - 2025-01-16T20:58:54.241208 - K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user2025-01-16T20:58:54.241208 -
2025-01-16T20:58:54.241208 - ** ComfyUI-Manager config path:2025-01-16T20:58:54.242208 - 2025-01-16T20:58:54.242208 - K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\config.ini2025-01-16T20:58:54.242208 -
2025-01-16T20:58:54.242208 - ** Log path:2025-01-16T20:58:54.242208 - 2025-01-16T20:58:54.242208 - K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\comfyui.log2025-01-16T20:58:54.242208 -
2025-01-16T20:58:55.513494 -
Prestartup times for custom nodes:
2025-01-16T20:58:55.514494 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-01-16T20:58:55.514494 - 2.8 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager
2025-01-16T20:58:55.514494 -
2025-01-16T20:58:57.282344 - Total VRAM 12288 MB, total RAM 65487 MB
2025-01-16T20:58:57.282344 - pytorch version: 2.5.1+cu124
2025-01-16T20:58:57.283345 - Set vram state to: NORMAL_VRAM
2025-01-16T20:58:57.284345 - Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
2025-01-16T20:58:58.337581 - Using pytorch attention
2025-01-16T20:58:59.850779 - [Prompt Server] web root: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web
2025-01-16T20:59:00.441844 - [Crystools INFO] Crystools version: 1.21.0
2025-01-16T20:59:00.565852 - [Crystools INFO] CPU: AMD Ryzen 5 3600X 6-Core Processor - Arch: AMD64 - OS: Windows 11
2025-01-16T20:59:00.574889 - [Crystools INFO] Pynvml (Nvidia) initialized.
2025-01-16T20:59:00.574889 - [Crystools INFO] GPU/s:
2025-01-16T20:59:00.595855 - [Crystools INFO] 0) NVIDIA GeForce RTX 3060
2025-01-16T20:59:00.595855 - [Crystools INFO] NVIDIA Driver: 551.61
2025-01-16T20:59:01.253068 - ### Loading: ComfyUI-Inspire-Pack (V1.10)2025-01-16T20:59:01.253068 -
2025-01-16T20:59:01.867194 - K:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\albumentations\__init__.py:13: UserWarning: A new version of Albumentations is available: 2.0.0 (you have 1.4.15). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
check_for_updates()
2025-01-16T20:59:02.147722 - K:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)
2025-01-16T20:59:02.632846 - ----------Jake Upgrade Nodes Loaded----------2025-01-16T20:59:02.632846 -
2025-01-16T20:59:02.785753 - ### Loading: ComfyUI-Manager (V3.7.6)
2025-01-16T20:59:02.958821 - ### ComfyUI Version: v0.3.10-52-g1f1c7b7b | Released on '2025-01-13'
2025-01-16T20:59:03.375823 - K:\ComfyUI\ComfyUI_windows_portable2025-01-16T20:59:03.375823 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-01-16T20:59:03.375823 -
2025-01-16T20:59:03.375823 - ############################################2025-01-16T20:59:03.375823 -
2025-01-16T20:59:03.375823 - K:\ComfyUI\ComfyUI_windows_portable\custom_nodes\ComfyUI-NAI-styler\CSV2025-01-16T20:59:03.375823 -
2025-01-16T20:59:03.377273 - ############################################2025-01-16T20:59:03.377273 -
2025-01-16T20:59:03.377273 - []2025-01-16T20:59:03.377273 -
2025-01-16T20:59:03.377273 - ############################################2025-01-16T20:59:03.377273 -
2025-01-16T20:59:03.382276 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-01-16T20:59:03.558322 - ------------------------------------------2025-01-16T20:59:03.558322 -
2025-01-16T20:59:03.558322 - Comfyroll Studio v1.76 :  175 Nodes Loaded2025-01-16T20:59:03.559322 -
2025-01-16T20:59:03.559322 - ------------------------------------------2025-01-16T20:59:03.560323 -
2025-01-16T20:59:03.561323 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2025-01-16T20:59:03.561323 -
2025-01-16T20:59:03.562324 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2025-01-16T20:59:03.562324 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-01-16T20:59:03.562324 -
2025-01-16T20:59:03.563324 - ------------------------------------------2025-01-16T20:59:03.563324 -
2025-01-16T20:59:03.581294 - [comfyui_controlnet_aux] | INFO -> Using ckpts path: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts
2025-01-16T20:59:03.581294 - [comfyui_controlnet_aux] | INFO -> Using symlinks: False
2025-01-16T20:59:03.582294 - [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
2025-01-16T20:59:03.605614 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-01-16T20:59:03.652510 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-01-16T20:59:03.657035 - FETCH DATA from: https://api.comfy.org/nodes?page=1&limit=10002025-01-16T20:59:03.658034 - 2025-01-16T20:59:03.830438 -
2025-01-16T20:59:03.830438 - [rgthree-comfy] Loaded 42 fantastic nodes. 🎉2025-01-16T20:59:03.831438 -
2025-01-16T20:59:03.831438 -
2025-01-16T20:59:03.832438 -
Import times for custom nodes:
2025-01-16T20:59:03.832438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2025-01-16T20:59:03.832438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere
2025-01-16T20:59:03.832438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2-main
2025-01-16T20:59:03.832438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_ZenID
2025-01-16T20:59:03.832438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver
2025-01-16T20:59:03.833438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Universal-Styler
2025-01-16T20:59:03.833438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet
2025-01-16T20:59:03.833438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
2025-01-16T20:59:03.833438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-01-16T20:59:03.833438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts
2025-01-16T20:59:03.833438 - 0.0 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JakeUpgrade
2025-01-16T20:59:03.833438 - 0.1 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack
2025-01-16T20:59:03.833438 - 0.1 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2025-01-16T20:59:03.833438 - 0.1 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID
2025-01-16T20:59:03.833438 - 0.1 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-tensorops
2025-01-16T20:59:03.834439 - 0.2 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2025-01-16T20:59:03.834439 - 0.2 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inpaint-nodes
2025-01-16T20:59:03.834439 - 0.2 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools
2025-01-16T20:59:03.834439 - 0.4 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2
2025-01-16T20:59:03.834439 - 0.6 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager
2025-01-16T20:59:03.834439 - 1.3 seconds: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inspyrenet-Rembg
2025-01-16T20:59:03.834439 -
2025-01-16T20:59:03.847470 - Starting server

2025-01-16T20:59:03.848482 - To see the GUI go to: http://127.0.0.1:8188
2025-01-16T20:59:13.533334 - [DONE]
2025-01-16T20:59:13.711871 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes?page=1&limit=1000
2025-01-16T20:59:13.802772 - nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/cache
2025-01-16T20:59:13.802772 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-01-16T20:59:13.802772 - 2025-01-16T20:59:13.974914 - [DONE]
2025-01-16T20:59:50.942993 - FETCH DATA from: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager\extension-node-map.json2025-01-16T20:59:50.942993 - 2025-01-16T20:59:50.949995 - [DONE]
2025-01-16T20:59:51.781183 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
Your current root directory is: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI
2025-01-16T20:59:51.782183 -
2025-01-16T20:59:51.782183 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
Your current root directory is: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI
2025-01-16T20:59:51.782183 -
2025-01-16T20:59:51.782183 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
Your current root directory is: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI
2025-01-16T20:59:51.782183 -
2025-01-16T20:59:51.782183 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
Your current root directory is: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI
2025-01-16T20:59:51.782183 -
2025-01-16T20:59:51.782183 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
Your current root directory is: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI
2025-01-16T20:59:51.782183 -
2025-01-16T20:59:51.782183 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
Your current root directory is: K:\ComfyUI\ComfyUI_windows_portable\ComfyUI
2025-01-16T20:59:51.783183 -
2025-01-16T20:59:54.222147 - got prompt
2025-01-16T20:59:54.224148 - Failed to validate prompt for output 38:
2025-01-16T20:59:54.224148 - * InstantIDModelLoader 20:
2025-01-16T20:59:54.224148 - - Value not in list: instantid_file: 'None' not in []
2025-01-16T20:59:54.224148 - * ACN_ControlNetLoaderAdvanced 22:
2025-01-16T20:59:54.224148 - - Value not in list: cnet: 'SDXL\InstantID.safetensors' not in []
2025-01-16T20:59:54.224148 - * ACN_ControlNetLoaderAdvanced 15:
2025-01-16T20:59:54.224148 - - Value not in list: cnet: 'SDXL\controlnet_union_sdxl.safetensors' not in []
2025-01-16T20:59:54.224148 - Output will be ignored
2025-01-16T20:59:54.225147 - Failed to validate prompt for output 24:
2025-01-16T20:59:54.225147 - Output will be ignored
2025-01-16T20:59:54.423757 - model weight dtype torch.float16, manual cast: None
2025-01-16T20:59:54.425760 - model_type EPS
2025-01-16T20:59:55.850079 - Using pytorch attention in VAE
2025-01-16T20:59:55.852079 - Using pytorch attention in VAE
2025-01-16T20:59:55.959104 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-01-16T20:59:56.165150 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
2025-01-16T20:59:57.346861 - Florence2 using sdpa for attention2025-01-16T20:59:57.346861 -
2025-01-16T20:59:57.404874 - No flash_attn import to remove2025-01-16T20:59:57.404874 -
2025-01-16T20:59:57.436881 - !!! Exception during processing !!! Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\LLM\Florence-2-large-PromptGen-v2.0.
2025-01-16T20:59:57.439881 - Traceback (most recent call last):
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2-main\nodes.py", line 101, in loadmodel
model = AutoModelForCausalLM.from_pretrained(model_path, attn_implementation=attention, device_map=device, torch_dtype=dtype,trust_remote_code=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\models\auto\auto_factory.py", line 559, in from_pretrained
return model_class.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\modeling_utils.py", line 3779, in from_pretrained
raise EnvironmentError(
OSError: Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\LLM\Florence-2-large-PromptGen-v2.0.

2025-01-16T20:59:57.441882 - Prompt executed in 3.21 seconds

## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

Workflow too large. Please manually upload the workflow from local file system.

## Additional Context
(Please add any additional context or steps to reproduce the error here)
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.