Sv. Lockal 0e0f1ed5bc
Allow bf16 computations on CPUs with BF16 support
Modern CPUs have native AVX512 BF16 instructions, which significantly improves matmul and conv2d operations.

With Bfloat16 instructions UNET steps are 40-50% faster on both AMD and Intel CPUs. There are minor visible changes with bf16, but no avalanche effects, so this feature is enabled by default with new `--use-cpu-bf16=auto` option. It can be disabled with `--use-cpu-bf16=no`.

Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
2025-07-02 16:07:02 +00:00
..
2024-12-20 16:24:55 -05:00
2023-01-16 22:37:14 -05:00
2024-06-27 18:43:11 -04:00
2025-03-06 00:24:43 -05:00
2025-06-06 09:43:27 -04:00
2025-01-24 06:15:54 -05:00
2025-06-25 19:35:57 -04:00
2025-05-17 06:27:34 -04:00