Do you remember ultralytics supply chain attack? Or where there multiple?
Do not remember exactly, but I was lucky I didn't update comfyui during these as I had some face detection nodes using ultralytics.
After that I've migrated entire comfyui to podman container.
You never know what a dependency of a dependency of some obscure node will pull without rigorously checking it, not only before installation but each and every time you update.
Still, even quick visual check of the diff between revisions will probably miss some obfuscated payload.
Running it on debian but it should work in WSL based podman too I expect as long as GPU passthrough to WSL works (it's probably on by default as long as you have recent NVidia Windows drivers installed).
Probably very similar setup can be achieved in docker.
Or even simpler idea - just create a disposable WSL machine for comfy? Disable /mnt/c sharing, share only specific directories for models and generated results?
Regarding using laptop as the interface, ComfyUI is a web app so no problems with that. You can configure it to listen not only on localhost (127.0.0.1) but on a LAN interface (usually 192.168..) and access it from your LAN with a laptop or tablet (or phone but I've not tried that. Phone screen is too small for anything meaningful probably):
If you need to access that machine remotely (so ComfyUI running on a home desktop, you're on a vacation with laptop) then you'll have to investigate VPN-s, same way as you would to access your Plex server remotely.
It scans decent images and is cheap. It is not bundled with the printer - so no problems like not scanning if printer ink is dried out or something.
Windows software: not sure but there're some drivers & software section on Canon's support site that should include the basics (scan and save to image file). But I'm using it on Linux so not sure how good this software is.
Anyway, on Windows after scanner driver is installed it should be possible to scan into any image editor that supports scanner input using something like File>Acquire>From Scanner or Camera or some similar menu item.
Conda is really risky in education environment from a licensing standpoint, IIRC they can and will require licenses even if sometime in the past there was free use allowed for academic use, e.g. first result for web search "conda licensing retroactive university":
Something along these lines (LLM inflated prompt :D)
This image is a striking, high-contrast photograph capturing the essence of emotional void. It features a young girl, her face a mask of utter stillness, devoid of any discernible emotion. Her eyes, lifeless and unblinking, gaze straight ahead, reflecting a profound emptiness. Her pale skin appears almost translucent, emphasizing the absence of warmth or vitality. Her hair, a tousled mass of dark shadows, frames her face, adding to the somber atmosphere. The background is a stark, barren landscape, devoid of color or life, reinforcing the theme of desolation. The lighting is harsh and unforgiving, casting deep shadows that accentuate the girl's frozen expression. Her posture is rigid, as if she were a statue carved from ice, immovable and unfeeling. The overall composition of the photograph conveys a sense of being trapped in a moment of eternal stasis, where time and emotion have ceased to exist. This powerful image evokes a chilling sense of isolation and inner desolation, leaving a lasting impression on the viewer.
This website is about 2 years old but upscaling models listed there are still relevant and it may give you an idea of how to evaluate newer models yourself?
Well, looking at the amount of people who are unable to read through the text file (even if it is a README.md in the root of the repository) it looks like a perfect protection against 90%+ of users.
By the way, never used these type of extensions (having read some time in the past year or two that LoRA quality is usually better) but now as these are censored I'll just have to try all of them out. Just because these are being restricted. Streisand effect anyone?
Basic procedure is the same for all of these but usually differences are in:
settings management (GUI tools are point and click, command line ones usually require some configuration file, either JSON or TOML or a huge list of command line arguments that becomes the configuration file by itself)
underlying libraries (e.g. kohya's scripts use own implementation of LoRA and SimpleTuner uses diffusers peft, at the same time both of them support LyCORIS LoRA-s, e.g. LoKr or LoHa)
VRAM optimization techniques (some tools are easier to set up for better VRAM management on low VRAM GPU-s)
Dataset management (how image files should be organized, how easy it's to setup tag shuffle in captions etc)
Supported optimizers and learning rate schedulers differ.
You can offload (first load text encoders, process prompts, unload text encoders, load transformers etc). Or you can quantize. Or you can split devices - text encoder on cpu, transformer on cuda:0.
Something is wrong.
I've never trained LTX but it uses gemma3-12b as text encoder?
That's 24Gb total in BF16 not quantized so 64Gb RAM should be more than enough to quantize text encoder: https://huggingface.co/google/gemma-3-12b-it-qat-q4_0-unquantized
You may try to set te_path under model to already quantized version like unsloth/gemma-3-12b-it-qat-bnb-4bit
If I recall correctly ai-toolkit used bitsandbytes - then this version should just work?
Yes, that's the problem of living on the leading edge. Again, looking at my container setup - last rebuilt it a month ago.
When I started it was rebuilt 1-2 times per hour - ohh, new shiny node in this example workflow, let me add it, and again in a new workflow ...
Do you remember ultralytics supply chain attack? Or where there multiple?
Do not remember exactly, but I was lucky I didn't update comfyui during these as I had some face detection nodes using ultralytics.
After that I've migrated entire comfyui to podman container.
You never know what a dependency of a dependency of some obscure node will pull without rigorously checking it, not only before installation but each and every time you update.
Still, even quick visual check of the diff between revisions will probably miss some obfuscated payload.
I'm running it in podman, forked https://github.com/NarinderS/comfyui-podman some time ago and building up from that (major changes are adding nodes I use as submodules).
Running it on debian but it should work in WSL based podman too I expect as long as GPU passthrough to WSL works (it's probably on by default as long as you have recent NVidia Windows drivers installed).
Probably very similar setup can be achieved in docker.
Or even simpler idea - just create a disposable WSL machine for comfy? Disable /mnt/c sharing, share only specific directories for models and generated results?
Multiple GPU-s were discussed e.g. here: https://www.reddit.com/r/comfyui/comments/1k4xjxh/sanity_check_using_multiple_gpus_in_one_pc_via/
Regarding using laptop as the interface, ComfyUI is a web app so no problems with that. You can configure it to listen not only on localhost (127.0.0.1) but on a LAN interface (usually 192.168..) and access it from your LAN with a laptop or tablet (or phone but I've not tried that. Phone screen is too small for anything meaningful probably):
https://docs.comfy.org/installation/comfyui_portable_windows#2-setting-up-lan-access-for-comfyui-portable
If you need to access that machine remotely (so ComfyUI running on a home desktop, you're on a vacation with laptop) then you'll have to investigate VPN-s, same way as you would to access your Plex server remotely.
> using the same DPI on the 400 series as the 300 series would result in faster scanning
Should be faster, check these specs for scanning speeds, each resolution is faster on 400 vs 300.
https://www.canon-europe.com/business/products/scanners/flatbed-scanners/canoscan-lide-400/specifications/
https://www.canon-europe.com/business/products/scanners/flatbed-scanners/canoscan-lide-300/specifications/
Do not forget to account for more scan lines at higher resolution if you'll calculate the scan time at different resolutions.
> Also, will it auto crop the photo?
This is software specific so I do not know if Canon's default software supports it.
You can try the manufacturer software first and if it does not work the way you like then look for something like this (first search result for image search, not used this software, just to illustrate with screenshots): https://www.hamrick.com/support/how-to-guides/how-to-scan-multiple-photos-on-a-flatbed.html
I've got myself a USB flatbed scanner only without printer for that (and for some paper documents scanning). CanoScan LiDE 300.
It's 66-75€ at the moment as I can see and higher resolution model (not actually relevant for photos), CanoScan LiDE 400, is around 90€. Regarding resolution limit of physical photos see for example this thread: https://www.reddit.com/r/DataHoarder/comments/1jgf3l8/canon_lide_300_or_400/
It scans decent images and is cheap. It is not bundled with the printer - so no problems like not scanning if printer ink is dried out or something.
Windows software: not sure but there're some drivers & software section on Canon's support site that should include the basics (scan and save to image file). But I'm using it on Linux so not sure how good this software is.
Anyway, on Windows after scanner driver is installed it should be possible to scan into any image editor that supports scanner input using something like File>Acquire>From Scanner or Camera or some similar menu item.
Conda is really risky in education environment from a licensing standpoint, IIRC they can and will require licenses even if sometime in the past there was free use allowed for academic use, e.g. first result for web search "conda licensing retroactive university":
https://www.reddit.com/r/bioinformatics/comments/1emekxo/anaconda_licensing_terms_and_reproducible_science/
Maybe that was the objective?
Something along these lines (LLM inflated prompt :D)
Nothing regarding speed but VRAM use is listed on the huggingface repo start page, scroll to the first table:
13Gb to 43Gb depending on resolution, CPU offload on/off, text encoder 4-bit quantization.
What is the approximate total file size?
Hope that I understood your question correctly :D - see e.g. this discussion for some ideas:
https://github.com/huggingface/diffusers/issues/3726
There's a link in the discussion to this repository:
https://github.com/kukaiN/vae_finetune
That has some fixes for mixed precision training errors.
You may try a web searches for "VAE training", "Stable Diffusion VAE fine tuning" and so on to get more results than looking just for AutoencoderKL.
Otherwise I'm not sure there are a lot of people training these models from scratch, most I've seen are fine-tunes of the existing Stability AI VAE.
Could you describe or link to what is a
Sigma Vision?Preferrably with a text description or repository link like github or huggingface as unfortunately I can't understand the video guides at all.
Top web search results are lens manufacturer, event planning business (lights and audio equipment rental), graphic design company and so on.
This website is about 2 years old but upscaling models listed there are still relevant and it may give you an idea of how to evaluate newer models yourself?
https://phhofm.github.io/upscale/
reddit? image subs specifically :D
instagram, flickr, imgur
Ready-made datasets, e.g.
https://www.reddit.com/r/StableDiffusion/comments/1hx350p/37k_2mp_general_purpose_image_dataset_from_cc12m/
Or search huggingface for datasets with modality "image":
https://huggingface.co/datasets?modality=modality:image&sort=trending
Kaggle maybe?
https://www.kaggle.com/datasets?tags=13207-Computer+Vision
Well, looking at the amount of people who are unable to read through the text file (even if it is a README.md in the root of the repository) it looks like a perfect protection against 90%+ of users.
By the way, never used these type of extensions (having read some time in the past year or two that LoRA quality is usually better) but now as these are censored I'll just have to try all of them out. Just because these are being restricted. Streisand effect anyone?
You'll have to check the github README (first page of the project on github, scroll below the list of files) for each tool but all of them support at least Flux, most of them support also SDXL, SD1.5, Pixart Sigma, SD3.5 and some other model architectures.
Basic procedure is the same for all of these but usually differences are in:
Forge is for inference (creating images using LoRA-s).
There is no need to abandon anything as these are different tools.
For local (and remote too) Flux training the following scripts are widely used:
There are certainly others too, listed are only ones I've tried or seen referenced here.
systemd service is an option too.
Written a lot of text with examples but reddit destroyed it switching between markdown and rich editor.
So something like this:
https://neilwebber.com/2016/02/10/making-a-simple-systemd-file-for-raspberry-pi-jessie/
Just add a
User=field to the[Service]section so it will not run as root.Like how it's done here: https://gist.github.com/torch2424/a2d4632831db4327b02d839147685007
File can be in
/etc/systemd/system/webui.serviceContents like:
Useful commands after creating the file:
May be relevant (comments too):
https://www.reddit.com/r/StableDiffusion/comments/17w0zlo/i_trained_a_custom_sdxl_model_of_my_daughter_to/
https://www.reddit.com/r/StableDiffusion/comments/1hrb4w3/i_used_a_flux_lora_to_create_a_childrens_book_for/
Tools are getting better but automatic text generators were around for years, decades even.
For example: Markov Chain text generator posting on Usenet in 1980-s, https://en.wikipedia.org/wiki/Mark_V._Shaney
Haven't used them myself but you may look into external GPU docks.
Something like Razer Chroma line https://www.razer.com/mena-en/gaming-laptops/razer-core-x
Then you can use your existent (if it supports Thunderbolt 3) laptop and select GPU to install into enclosure (probably limited by eGPU power supply).
Maybe search https://www.reddit.com/r/eGPU/ and similar for your specific laptop model compatibility.
Just found this searching for LoRA tips.
Have you run `fuse_lora`?
https://huggingface.co/docs/diffusers/en/using-diffusers/merge_loras#fuselora
What's your error?
Add your user to groups `video` and `render`
Do not forget to export `HSA_OVERRIDE_GFX_VERSION` according to your GPU if it's a gaming card: https://github.com/comfyanonymous/ComfyUI/#for-amd-cards-not-officially-supported-by-rocm
Torch install: Activate virtual environment for the project you're trying to install and follow Linux / Rocm from https://pytorch.org/get-started/locally/
Continue with installation (most probably `pip install -r requirements.txt` depending on what UI you're trying to install).
UI specific guides:
You can offload (first load text encoders, process prompts, unload text encoders, load transformers etc). Or you can quantize. Or you can split devices - text encoder on cpu, transformer on cuda:0.
See first note (green block) in the documentation, there are various tips listed: https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux