artyom-beilis / pytorch_dlprim

DLPrimitives/OpenCL out of tree backend for pytorch
http://blog.dlprimitives.org/
MIT License
264 stars 17 forks source link

NotImplementedError: Could not run 'aten::gelu.out' with arguments from the 'ocl' backend. #19

Closed zougloub closed 9 months ago

zougloub commented 1 year ago

Implementing F.gelu().

artyom-beilis commented 1 year ago

Yes this is one of gaps I'm going to close in near future implementing transformers

https://github.com/artyom-beilis/pytorch_dlprim/discussions/16

zougloub commented 1 year ago

ELU, GELU, SiLU, Swish can be used in pretty much in any context.

artyom-beilis commented 9 months ago

Fixed in f2fff47b49dc9068ca90be72bea23d2547fb1c4b