Dr. Christoph Mittendorf
72a07190bf
Excluding the math library INSTEAD using the pow() function
...
scale = 1 / (self.dim_head ** 0.5) does the same as scale = 1 / math.sqrt(math.sqrt(self.dim_head))
therefore we do not need to import math here and safe some.
Recommended: Import libraries only when you need them: This will reduce the number of times that the interpreter needs to load the library's code.
2024-01-05 21:37:33 +01:00
lllyasviel
0c4f20a0d2
try fix #1761 again ( #1680 )
2023-12-31 04:38:31 -08:00
lllyasviel
2521af308b
try fix #1671 ( #1678 )
2023-12-31 03:38:16 -08:00
lllyasviel
0e1aa8d084
better caster ( #1480 )
...
related to mps/rocm/cpu casting for fp16 and etc on clip
2023-12-17 17:09:15 -08:00
lllyasviel
ec5dd950a2
Fix many precision problems
...
Many users reported that image quality is different from 2.1.824. We reviewed all codes and fixed several precision problems in 2.1.846.
2023-12-16 15:55:53 -08:00
lllyasviel
3a727fd240
2.1.844
...
* maintain clip vision device
* update links in troubleshoot
2023-12-16 10:34:47 -08:00
lllyasviel
5b99e3a1e4
2.1.839
2023-12-13 21:14:50 -08:00
lllyasviel
fcc7458d15
Avoid tokenizer download from torch hub
2023-12-13 08:25:44 -08:00
lllyasviel
406133f0fb
safer link
2023-12-12 21:53:13 -08:00
lllyasviel
322aa5a724
use our blip
2023-12-12 21:07:39 -08:00
lllyasviel
f8e651a483
[2.1.831] Fooocus Describe
2023-12-12 19:34:18 -08:00
lllyasviel
e8d88d3e25
2.1.826
2023-12-12 11:38:05 -08:00