Commit Graph

7 Commits

Author SHA1 Message Date
Manuel Schmid efb6ca01d3
fix: prevent inference tensor version counter tracking issue for GroundingDINO
use no_grad and inference_mode on predict_with_caption
see https://github.com/lllyasviel/Fooocus/discussions/3213#discussioncomment-10017126
2024-07-13 15:49:07 +02:00
Manuel Schmid 24d66f6f77
Revert "feat: update GroundingDINO from SwinT (tiny) to SwinB (base)"
This reverts commit 7f3fd8f318.
2024-06-16 23:22:21 +02:00
Manuel Schmid 7f3fd8f318
feat: update GroundingDINO from SwinT (tiny) to SwinB (base) 2024-06-16 23:22:10 +02:00
Manuel Schmid ff9fa6c837
feat: add box_erode_or_dilate to generate_mask_from_image, expose more sam return values 2024-06-09 18:45:13 +02:00
Manuel Schmid 62fe86f1e8
chore: always use cpu as default device
this is overridden anyways
2024-01-26 02:34:25 +01:00
Manuel Schmid d515d0f074
fix: remove unnecessary fp32 / fp16 handling 2024-01-26 02:06:17 +01:00
Manuel Schmid 90be73a6df
feat: add model patching
automatically unload model when not needed anymore
2024-01-26 02:05:38 +01:00