u/LetterRip
In this archive from Sep 2022 to Feb 2026
- 6
- posts
- 250
- comments
- 1
- media
- 1.2k
- score
Top posts
In the style of 'Artist name' often isn't about the artist but the period and region of the name
The vector embeddings of names are associated with time periods and ethnicities, not for the specific artist per say, but certain name variants are popular in some time periods and not others; and in some regions and not others. Thus using any old variant of an Italian name will give a painting them...
Why are models redownloaded after some updates?
After doing git pulls on the huggingface diffusers or on automatic1111 - often the next run will redownload all of the models. I'm fairly certain the models are exactly the same, so what is triggering the rather wasteful and pointless redownload?
recommended workflow for img2img?
I'm curious about your approach using img2img to refine an image that you've created that is 'close' but not quite there. Particularly your method of dialing in strength, ddim_steps, scale, sampler, and other variables.
Open image set of a non-celebrity that can be used for demoing Stable Diffusion tuning?
Is there a freely available set of images of a person that isn't a celebrity (and thus the model hasn't learned their image) that can be used for demoing and comparing training approaches (Dreambooth, LORA, Textual Inversion, Hypernetworks, etc.) and be included with or linked to models to show an e...
600,000$ was the 'approximate value' of the training time. That is .6 million.
This looks like straightforward implementation of supporting loading and using hypernetworks. While the code is the same, I think you are jumping to conclusions that it required copying.
the variable names are 'forced' - q,k,v are the standard abbreviations for query, key, value extracted from a context. h_k, h_v are thus the obvious choices for hypernetwork_key, and hypernetwork_value
The 77 is how many tokens are allowed for clip for networks derived from CompVis Stable diffusions default.
See this code referencing the max length, the 77 is a well known max token limit for the implementation
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/1371d7608b402d6f15c200ec2f5fde4579836a05/modules/sd_hijack.py
The noise_cond is implying that conditional noise is being used (and hence the need to add noise to the context in the next step).
The .1 multiplier is presumably standard throughout the codebase for noise_cond, and is presumably from the original implementation. If that isn't the case, tnis would be the only possible evidence of copying.
The if functions are standard idiomatic python.
Thus I see nothing here that would imply copying.
the textual inversion looks like it overfit, use negative scaling/weighting in AUTOMATIC1111 should give better results, such as
His name works for the same reason Rutkowski's did, his name uses a rare token and so can store lighting information which gets destroyed in names that share token information with other words. Probably any rarely used token that gets consistent lighting information will work, wouldn't even need to be artist related.
These should all reduce ram,
Try adding --use_8bit_adam --gradient_checkpointing --resolution 256 --train_batch_size 1 --sample_batch_size 1 --gradient_accumulation_steps 4
Try with and without --use_8bit_adam - sometimes it helps, sometimes it hurts. (If it helps it could help enormously)
And this should speed training without increasing ram
--mixed_precision bf16
See https://huggingface.co/docs/transformers/perf_train_gpu_one for details