Better HN
topnewbestaskshowjobs
Log inSign up

scott-gray

45 karma · joined Aug 9, 2016 (10y ago) · 3 submissions

Submissions

comment 9y ago · link · parent

So a minor correction here. We did explore placing ftz on various instructions inside the matmul ops, but it turns out you don't need anything more than what is already baked into tf by default. All tf gpu primitives are built with -nvcc_options=ftz=true. This means you have an implicit non-linearity after any non-matmul op (provided the scale of computation is near 1e-38). Matmul ops are called through cublas and have denormals enabled.

comment 9y ago · link · parent

Actually if you read section 4.6 of that paper you'll see that denormals are the default on sm_20 and above. But you can see in that same section this this can easily be disabled with the ftz flag.

I had to give Jakob custom gemm kernels to do this research. Not sure why the denormal point was left out of this blog as it's pretty critical to the whole experiment.

comment 10y ago · link · parent

I was aware of this deal before leaving. I made out pretty well with my vested shares but was more interested in working on the cutting edge of research than in continuing on with pure hardware optimization and design. I wish Nervana/Intel the best and I'm looking forward to seeing their hardware come to market. I'm mainly working on TensorFlow now, but would love to see Nervana finish the graph backend they've been working on.