Live data from Hacker News

FP8 is ~100 tflops faster when the kernel name has "cutlass" in it

twitter.com

21–30 of 114 posts

Re: FP8 is ~100 tflops faster when the kernel name has "cutlass" in it

#21
post #9
post #8

Earlier quoted context omitted.

I'm interested in that story, what are you referring to with "GenuineIntel"?

Intel's C++ compiler is known to add branches in its generated code checking if the CPU is "GenuineIntel" and if not use a worse routine: https://en.wikipedia.org/wiki/Intel_C%2B%2B_Compiler#Support... .

Is this for the runtime of the compiled code or for the compiling machine? Do they generate slow code if the compiler is running on non-intel?

Re: FP8 is ~100 tflops faster when the kernel name has "cutlass" in it

#22
post #9
post #8

Earlier quoted context omitted.

I'm interested in that story, what are you referring to with "GenuineIntel"?

Intel's C++ compiler is known to add branches in its generated code checking if the CPU is "GenuineIntel" and if not use a worse routine: https://en.wikipedia.org/wiki/Intel_C%2B%2B_Compiler#Support... .

Also MKL:

https://danieldk.eu/Intel-MKL-on-AMD-Zen

Re: FP8 is ~100 tflops faster when the kernel name has "cutlass" in it

#26
post #9

Earlier quoted context omitted.

Intel's C++ compiler is known to add branches in its generated code checking if the CPU is "GenuineIntel" and if not use a worse routine: https://en.wikipedia.org/wiki/Intel_C%2B%2B_Compiler#Support... .

Is this for the runtime of the compiled code or for the compiling machine? Do they generate slow code if the compiler is running on non-intel?

the runtime. patching cpuid makes the code go faster

Re: FP8 is ~100 tflops faster when the kernel name has "cutlass" in it

#27
post #9

Earlier quoted context omitted.

Intel's C++ compiler is known to add branches in its generated code checking if the CPU is "GenuineIntel" and if not use a worse routine: https://en.wikipedia.org/wiki/Intel_C%2B%2B_Compiler#Support... .

Is this for the runtime of the compiled code or for the compiling machine? Do they generate slow code if the compiler is running on non-intel?

For the compiled code. Its output deliberately runs slower on non-Intel CPUs.

Re: FP8 is ~100 tflops faster when the kernel name has "cutlass" in it

#28
post #3

GenuineIntel moment.

Or maybe Quack III: Arena. https://m.slashdot.org/story/21054

I think that was the first case (to go public), but I remember reading about this in game magazines a couple times after this, for both ATI and nvidia.

Re: FP8 is ~100 tflops faster when the kernel name has "cutlass" in it

#29
post #9

Earlier quoted context omitted.

Intel's C++ compiler is known to add branches in its generated code checking if the CPU is "GenuineIntel" and if not use a worse routine: https://en.wikipedia.org/wiki/Intel_C%2B%2B_Compiler#Support... .

Is this for the runtime of the compiled code or for the compiling machine? Do they generate slow code if the compiler is running on non-intel?

Runtime of the compiled code. The ostensible intent is so that new processors can use new features like SIMD, while offering a fallback for older ones. In practice, they’re detecting an Intel processor, not just the specific feature.

Re: FP8 is ~100 tflops faster when the kernel name has "cutlass" in it

#30
This tweet appears to be taking the original material out of context to misrepresent it:

> Rewrite the attention kernel to be persistent. This gives better performance at low-contexts. However, fp16 at large context has suffered a bit due to a ptxas instruction scheduling issue in the softmax partition. fp8 is ~100 tflops faster when the kernel name has "cutlass" in it.

The charitable reading is that, on certain kernels, using fp8 rather than fp16 values gives better performance. (Although I can't even see how the numbers relate to a "~100 tflops faster" claim in any respect, nor does it even list any kernel names or suggest a control kernel!) But this is being presented as if someone has uncovered evidence of cheating on benchmarks.

Post reply on HN