AI Lab
54e623373f
Update version and improve error logging
2026-09-30 12:33:52 -07:00
AI Lab
b4c2745c5c
Update update.md
2026-09-30 12:33:10 -07:00
Marcel Hofer and @goodguy1963
58f1947a11
Fix RMBG batch tensor size mismatch ( #202 )
...
Co-authored-by: @goodguy1963
2026-08-21 15:56:10 -07:00
Mohamed Firas
83ae073127
Fix device selection on Apple Silicon (MPS) ( #205 )
...
Several nodes selected their device with a module-level
`device = "cuda" if torch.cuda.is_available() else "cpu"`. On Apple Silicon
`torch.cuda.is_available()` is False, so they silently ran on CPU even when
ComfyUI had selected MPS. The model still runs, just far slower, so there is no
error -- only a job that sits at 0% for minutes (reads as a hang). A single
BiRefNet image took ~18 min on CPU; on MPS a 21s video processed in ~9 min
(~1s/frame).
Defer to ComfyUI's own device management via a shared helper
`get_device()` in AILab_utils (wraps `comfy.model_management.get_torch_device()`),
so nodes follow whatever backend ComfyUI chose -- matching what the SAM2/SAM3/
Florence2/Segment/SDMatte nodes already do. Centralizing it keeps the check from
drifting again.
Applied to BiRefNet, RMBG, ClothSegment, BodySegment, FashionSegment,
FaceSegment, and SegmentV2. LamaRemover already uses get_torch_device() and is
left unchanged.
Fixes #200 . Related to #91 , #135 .
2026-08-21 15:51:39 -07:00
AI Lab
bb0531a1ae
Simplify image crop logic and remove unused variables
...
Refactor image cropping logic to simplify handling of split cases and improve clarity.
2026-08-21 14:40:22 -07:00
AI Lab
9edb2bec39
Update README.md
2026-07-28 13:55:59 -07:00
AI Lab
615c1146d6
Update update.md
2026-07-22 02:13:24 -07:00
AI Lab
e92dd1edab
Update print statement from 'Hello' to 'Goodbye'
2026-07-22 02:08:46 -07:00
AI Lab
0ca8137b4d
Update update.md
2026-07-22 02:08:15 -07:00
AI Lab
a7826e67ef
Bump project version to 3.1.0
...
Updated project version from 3.0.0 to 3.1.0 and maintained other project metadata.
2026-07-21 15:33:28 -07:00
AI Lab
8d1f14ae67
Add files via upload
2026-07-21 15:31:24 -07:00
AI Lab
ac1678adb2
Update version from 3.0.0 to 3.1.0
2026-07-21 15:30:54 -07:00
AI Lab
19b1ee1ed6
Update print statement from 'Hello' to 'Goodbye'
2026-07-21 15:30:33 -07:00
AI Lab
5b31c229e9
Update README.md
2026-07-21 15:27:46 -07:00
AI Lab
7f0668e2f5
Change inactive issue closure period to 90 days
...
Updated the inactivity period for closing issues from 30 days to 90 days and modified the closure message accordingly.
2026-07-13 01:11:05 -07:00
AI Lab
0ece43adad
Delete example_workflows/Agnes-AI_Nodes.json
2026-07-09 02:39:10 -07:00
AI Lab
e1317b3536
Delete example_workflows/Agnes-AI_Nodes.jpg
2026-07-09 02:39:00 -07:00
AI Lab
5fa4285a9f
Add files via upload
2026-07-09 02:38:28 -07:00
AI Lab
d7402513f2
Improve image download method with redirect handling
...
Refactor image downloading logic to handle redirects and ensure image loading.
2026-02-03 09:58:20 -08:00
AI Lab
a1ca256ce5
Update pyproject.toml
2026-01-17 21:50:57 -08:00
AI Lab
53edb928ac
Change 'Hello World' to 'Goodbye World'
2026-01-17 18:51:40 -08:00
AI Lab
bc741b0092
Update print statement from 'Hello' to 'Goodbye'
2026-01-17 18:44:34 -08:00
AI Lab
f2322564fa
Update README.md
2026-01-17 18:42:56 -08:00
AI Lab
748ff63b0d
Add files via upload
2026-01-17 18:41:26 -08:00
AI Lab
974d27103a
Add files via upload
2026-01-17 17:22:55 -08:00
AI Lab
aa547930f3
Update print statement from 'Hello' to 'Goodbye'
2026-01-17 17:19:42 -08:00
AI Lab
07ecb7a06f
Add files via upload
2026-01-17 10:57:33 -08:00
AI Lab
d9c6f82a62
Change greeting from 'Hello' to 'Goodbye'
2026-01-17 10:46:47 -08:00
AI Lab
26e340f57c
Update print statement from 'Hello' to 'Goodbye'
2026-01-17 10:41:40 -08:00
AI Lab
ad99a484d5
Update print statement from 'Hello' to 'Goodbye'
2026-01-17 10:35:23 -08:00
AI Lab
ca35c88b37
Update print statement from 'Hello' to 'Goodbye'
2026-01-17 10:20:35 -08:00
AI Lab
04a5d8fe13
Add files via upload
2026-01-17 09:51:50 -08:00
AI Lab
edd18618cf
Add files via upload
2026-01-16 23:39:36 -08:00
AI Lab
d7e40c421e
Update print statement from 'Hello' to 'Goodbye'
2026-01-16 23:24:00 -08:00
AI Lab
112fd6141d
Update AILab_SAM3Segment.py
2026-01-06 01:24:40 -08:00
AI Lab
7178f940fb
Add files via upload
2026-01-01 19:29:24 -08:00
AI Lab
1509c67a7b
Delete AILab_ImageMaskTools.py
2026-01-01 19:28:20 -08:00
AI Lab
66084aeecb
Delete AILab_SDMatte.py
2026-01-01 19:28:13 -08:00
AI Lab
433d0e2171
Delete AILab_InpaintTools.py
2026-01-01 19:28:01 -08:00
AI Lab
1bf0102b94
Delete AILab_LamaRemover.py
2026-01-01 19:27:59 -08:00
AI Lab
3b47c2bbc0
Delete AILab_SegmentV2.py
2026-01-01 19:27:47 -08:00
AI Lab
0d05fb8f75
Delete AILab_Segment.py
2026-01-01 19:27:46 -08:00
AI Lab
372e687496
Delete AILab_SAM3Segment.py
2026-01-01 19:27:33 -08:00
AI Lab
d25f11d687
Delete AILab_RMBG.py
2026-01-01 19:27:28 -08:00
AI Lab
d17539da31
Delete AILab_ClothSegment.py
2026-01-01 19:27:13 -08:00
AI Lab
5fd946c4c3
Delete AILab_SAM2Segment.py
2026-01-01 19:27:12 -08:00
AI Lab
9d48813164
Delete AILab_FaceSegment.py
2026-01-01 19:26:59 -08:00
AI Lab
c399e84202
Delete AILab_FashionSegment.py
2026-01-01 19:26:58 -08:00
AI Lab
4113f4f9a3
Delete AILab_BodySegment.py
2026-01-01 19:26:38 -08:00
AI Lab
a3e126270f
Delete AILab_BiRefNet.py
2026-01-01 19:26:37 -08:00