Commit Graph
69 Commits
Author SHA1 Message Date
kijai 2752591c30 Simpler check 2026-03-12 18:23:05 +02:00
kijai 606bc5cd34 Accept both torch_dtype and dtype
transformer version dependant
2026-03-04 15:02:09 +02:00
kijai d6743b2d36 Support Transformers V5
Should work with base models at least
2026-01-30 02:30:36 +02:00
kijai 0051c49eaa Security update: Don't allow custom download paths 2025-12-15 23:09:16 +02:00
kijai b241d3fbde comma 2025-08-08 20:12:50 +03:00
Jukka Seppänen bb9f1b76de Merge pull request #165 from xzuyn/castollux
Add `PJMixers-Images/Florence-2-base-Castollux-v0.5` option
2025-08-07 11:03:52 +03:00
Tao e9af3ccaff Fixing "caches 0 layer & y1 greater or equal y0" / File : nodes.py
Fixing the 2 errors : 

- Cache only has 0 layers, attempted to access layer with index 0
- y1 must be greater than or equal to y0
2025-08-07 00:45:43 +02:00
kijai 6b3064b8bd Fix for transformers update 2025-08-01 18:31:12 +03:00
xzuyn f15c853446 Add PJMixers-Images/Florence-2-base-Castollux-v0.5 option 2025-06-26 20:59:13 -04:00
kijai 98c417317a Workaround for transformers > 4.52.0
Should fix the "DaViT" import error, backwards compatibility for older transformers is retained
2025-05-21 14:09:40 +03:00
kijai 154952de73 simpler, more compatible 2025-05-20 00:01:27 +03:00
kijai da4ccd3a05 Add option to convert model weights to .safetensors for faster model loading
This reduced the loading time of models where weights are stored in .bin file from 20 seconds to 1 second, available as a switch on the model loader nodes
2025-05-19 20:17:23 +03:00
Silver 820689f6dd Initial load to offload device instead of device_map 2025-04-14 12:03:39 +02:00
Jukka Seppänen f38eeb8997 Merge pull request #122 from Reboot-Video/main
Caption to Phrase Grounding: return parsed data
2025-03-11 14:01:12 +02:00
sko00o 86ed1e7a6f Handle non-existent paths in path dictionary creation 2025-03-11 18:26:05 +08:00
Jon Elling 841a4ae736 return parsed data for grounded phrase 2025-02-12 18:17:22 -05:00
filtered 334210e648 Find models in alternate paths 2025-02-10 18:55:57 +11:00
filtered c5c79d8aa9 Ensure ComfyUI knows about the LLM model path 2025-02-10 06:24:27 +11:00
kijai dffd12506d clarify print 2025-01-12 19:55:45 +02:00
jhj0517 d84b8f6154 Be sure to create the directory first 2024-12-28 21:29:40 +09:00
kijai 599ca4a40f Add PromptGen v2.0 2024-11-06 17:59:50 +02:00
kijai f59d5c34d9 add model 2024-09-10 01:30:35 +03:00
kijai cfd1872cb4 update models 2024-09-10 01:25:30 +03:00
kijai da51d4ae72 tooltip 2024-09-05 22:10:46 +03:00
kijai 81931c640a Update nodes.py 2024-09-05 21:39:30 +03:00
kijai 7eae8a4c42 Add promptgen 1.5 2024-09-05 21:38:21 +03:00
Sean McLellan ddf59991aa Merge branch 'kijai:main' into main 2024-08-31 21:15:33 -04:00
kijai 03e5a9065c Update nodes.py 2024-08-31 12:46:01 +03:00
Sean McLellan 46af8bbd08 Fix output 2024-08-27 20:16:38 -04:00
Sean McLellan 28a9d4fb55 Output masks when using task of type 'ocr_with_region' 2024-08-27 18:47:55 -04:00
kijai 07b71d4568 Add CogFlorence-2.2-Large 2024-08-23 21:38:08 +03:00
masslevel e05806982e Fix for Seed must be between 0 and 2**32 - 1 when using seed / int generator node
This implements a seed function and fix for the error ` Seed must be between 0 and 2**32 - 1` when using a seed or int generator on the seed widget of the Florence2Run node.
2024-08-05 15:10:43 +02:00
kijai 147677948c Update nodes.py 2024-08-05 15:04:59 +03:00
kijai ef3daf51f9 fix max seed value, add PromptGen finetune 2024-08-05 14:43:15 +03:00
kijai b0171c384a expose seed 2024-08-05 12:08:33 +03:00
kijai 85934523ee Add Florence2ModelLoader -node 2024-08-05 11:57:07 +03:00
kijai 2468c2a937 Update nodes.py 2024-08-05 11:22:00 +03:00
kijai 32d5e5d747 add CogFlorence 2024-08-05 11:06:12 +03:00
kijai c8fdfd6dab Update nodes.py 2024-07-30 22:51:45 +03:00
Jukka Seppänen 43e2074f45 Merge pull request #35 from un-seen/main
Adds Data As Output
2024-07-30 21:07:00 +02:00
kijai 9425f1c00c Revert list output due to some compatibility issues, for now 2024-07-25 09:56:20 +03:00
webspam0 a42026c182 Fix caption output workaround - use ComfyUI 2024-07-18 15:29:49 +10:00
Shashank Shekhar 1deff3470d Update nodes.py 2024-07-16 22:19:44 +05:30
Shashank Shekhar d51be9beec Update nodes.py 2024-07-16 21:36:47 +05:30
Shashank Shekhar 2fa5207f02 Update nodes.py 2024-07-16 21:35:59 +05:30
kijai 8b74efac4e Allow label input in mask select as well 2024-07-06 16:17:23 +03:00
kijai d380c76e09 better bbox mask output 2024-07-06 15:43:30 +03:00
kijai f49772a869 Separate mask outputs for captions 2024-07-06 14:35:39 +03:00
kijai 7c14db3d20 Merge branch 'main' of https://github.com/kijai/ComfyUI-Florence2 2024-06-26 11:26:25 +03:00
kijai aa28eefcf7 pillow 2024-06-26 11:26:23 +03:00