I don't see how you can say Inkling had better voxel discipline here, it clearly is not using a voxel data structure at all, just boxy meshes. Assuming your description is correct that the first one is QFN and the second one Inkling 2. It's harder to tell on that QFN one, but it looks like a proper voxel implementation with faces generated from voxel data.
Also have to keep in mind, you can have all the compute you want, but if you don't have the memory to run it it's basically the same as not having the compute.
So depending on what you want to run it changes the results.
Using Klein Edit to make it real, then a ZTurbo pass for texture seems to work decently, Klein was just "Make it real", and ZTurbo I didn't even enter a prompt, just a 0.25 denoise pass
That's some odd math you're doing. If it's RGB for 1 pixel it's simply (224)1 where 2 is just binary, 24 is the number of bits per pixel and 1 is the number of pixels.
So for a 100x100 grid it's (224)100*100 and for 512x512 it's (224)512*512
It also doesn't matter how many bits a system is, the bits per pixel depends on the image type, not the CPU type.
If we want to get really technical, it also can't output every possible combination since it depends on the input token, scale, and original seed.
So an unmodified SD can 'only' output 48,89475 * 232 * 232 * [steps] * [samplers] * [resolutions] (75 tokens with 48894 possibilities per token, int32 seed, and fp32 cfg scale), unless I forgot something ;)
Of course there are many ways you change the generation to increase that number...
Have you tried only applying the weighted cross attention for the first <x> amount of steps? that might help improve overal quality by not over forcing it into the painted areas.
All the extra stuff is for doing prompt2prompt, negative prompts and guidance scale modifications through the prompt. If you only want to do negative prompts it's a bit overkill.
If you just want a single negative prompt then just changing the uc is enough yea.
Not entirely sure what you mean, but the float value is just the step at which the switch is made, so it depends on the total amount of steps. If you use a integer value instead it just denotes the step at which the switch happens, which is a bit more exact and easier to test with.
It's hard to say at which step you should make a switch though, it depends highly on what you're trying to do. But mostly when you're trying to replace subjects or parts with other things it's best to do it early. While style changes can be done later for example.
I created a prompt parser a while back that's relatively easy to add (just requires to add 1 file, and make minor changes to txt2img or whatever you use).
Supports prompt2prompt, guidance scale modifications and negative prompts.
They do the same thing, it's probably a difference in settings you are using. Like different sampler, steps, guidance scale, resolution etc. make sure those are all the same if you are comparing. The same seed with same settings should pretty much return the same image.
If you want to give something higher priority it's better to move it more towards the front of the prompt, so if you say "Blue haired Kalandil is...." you'll almost always get blue hair (and a lot of other blue stuff ;)
If I had to guess, it looks like the hlky GFPGAN does face fixing first then upscale while Automatic1111's does upscale first and then face fixing. You can see by the visible box the Automatic1111's version creates due to the higher definition hair around the face in the tile that is repaired
Interesting, will have to check them out, that's actually cheaper than running my own 3090 at home with current energy prices going insane (about 1,- per kwh)
A standard docker package where people can easily swap out their own versions would be nice.
You sure you weren't using a fork that just does different processing?
There's nothing in these changes that affect quality, there might be minor changes in the output due to rounding differences. But changes are much less than for example switching between half/full, none of the changes are inherently better/worse just random (and very small).
I don't see how you can say Inkling had better voxel discipline here, it clearly is not using a voxel data structure at all, just boxy meshes. Assuming your description is correct that the first one is QFN and the second one Inkling 2. It's harder to tell on that QFN one, but it looks like a proper voxel implementation with faces generated from voxel data.
Are Mac's really that inefficient, I get almost 10x more tokens/watt on a 5090.
You shouldn't say it out loud man, in 2 years people will read this and know you have millions worth of assets in your house ;)
Also have to keep in mind, you can have all the compute you want, but if you don't have the memory to run it it's basically the same as not having the compute.
So depending on what you want to run it changes the results.
Yea but only the first time for some reason
https://preview.redd.it/hap8cs7rfcfg1.png?width=1280&format=png&auto=webp&s=097ee86561d7c70d8d3d0ae79257f44f8cf75da1
Using Klein Edit to make it real, then a ZTurbo pass for texture seems to work decently, Klein was just "Make it real", and ZTurbo I didn't even enter a prompt, just a 0.25 denoise pass
That's some odd math you're doing. If it's RGB for 1 pixel it's simply (224)1 where 2 is just binary, 24 is the number of bits per pixel and 1 is the number of pixels.
So for a 100x100 grid it's (224)100*100 and for 512x512 it's (224)512*512
It also doesn't matter how many bits a system is, the bits per pixel depends on the image type, not the CPU type.
If we want to get really technical, it also can't output every possible combination since it depends on the input token, scale, and original seed.
So an unmodified SD can 'only' output 48,89475 * 232 * 232 * [steps] * [samplers] * [resolutions] (75 tokens with 48894 possibilities per token, int32 seed, and fp32 cfg scale), unless I forgot something ;)
Of course there are many ways you change the generation to increase that number...
It's actually the other way around so (224)512*512
The OpenAI tokenizer is not the same as the clip tokenizer, for example lady is 2909 in clip, it's also not case sensitive.
The OpenAI tokenizer is not the same as the clip tokenizer, for example lady is 2909 in clip, it's also not case sensitive.
Have you tried only applying the weighted cross attention for the first <x> amount of steps? that might help improve overal quality by not over forcing it into the painted areas.
All the extra stuff is for doing prompt2prompt, negative prompts and guidance scale modifications through the prompt. If you only want to do negative prompts it's a bit overkill.
If you just want a single negative prompt then just changing the uc is enough yea.
Not entirely sure what you mean, but the float value is just the step at which the switch is made, so it depends on the total amount of steps. If you use a integer value instead it just denotes the step at which the switch happens, which is a bit more exact and easier to test with.
It's hard to say at which step you should make a switch though, it depends highly on what you're trying to do. But mostly when you're trying to replace subjects or parts with other things it's best to do it early. While style changes can be done later for example.
I created a prompt parser a while back that's relatively easy to add (just requires to add 1 file, and make minor changes to txt2img or whatever you use).
Supports prompt2prompt, guidance scale modifications and negative prompts.
https://github.com/CompVis/stable-diffusion/commit/ccb17b55f2e7acbd1a112b55fb8f8415b4862521
Don't think there are docs about it, but you can see it in the source code
in simple_tokenizer.py
Just for info, the tokenizer lowers all text, so capitalization really does nothing at all, but you already found out heh ;)
They do the same thing, it's probably a difference in settings you are using. Like different sampler, steps, guidance scale, resolution etc. make sure those are all the same if you are comparing. The same seed with same settings should pretty much return the same image.
If you want to give something higher priority it's better to move it more towards the front of the prompt, so if you say "Blue haired Kalandil is...." you'll almost always get blue hair (and a lot of other blue stuff ;)
It seems that tokenizer is different from the clip one that SD uses, if I run both through the clip tokenizer I get this:
"hair over one eye": 2225, 962, 637, 3272
"hair_over_one_eye": 2225, 318, 962, 318, 637, 318, 3272
So it seems like it's more consistent in keeping the words correct
If I had to guess, it looks like the hlky GFPGAN does face fixing first then upscale while Automatic1111's does upscale first and then face fixing. You can see by the visible box the Automatic1111's version creates due to the higher definition hair around the face in the tile that is repaired
Never done it for python, but there's some good info here
https://docs.docker.com/language/python/build-images/
Interesting, will have to check them out, that's actually cheaper than running my own 3090 at home with current energy prices going insane (about 1,- per kwh)
A standard docker package where people can easily swap out their own versions would be nice.
Hmm, the could not convert string to float error is definitely not coming from these script changes. Are you trying to use it in a different fork?
You sure you weren't using a fork that just does different processing?
There's nothing in these changes that affect quality, there might be minor changes in the output due to rounding differences. But changes are much less than for example switching between half/full, none of the changes are inherently better/worse just random (and very small).
Yea, but was getting even more errors there. I think found the issue though, it seems to be compiling now..
Edit. nm, ran into another issue..