Open shashankprasanna opened 9 months ago
(Hi, sorry, I didn't want to open a separate thread just for the following suggestion: I think it would be super interesting to also include an implementation in Julia and one based on DACE for comparison. In any case, thank you very much for sharing this project and the results you got in the article posted on your website!)
Hi👋 Thank you for this awesome project! I can't wait to try it out!
Just wanted to share that you can further speed up the squared distance calculation by vectorizing your code by operating on
simd_width
vectors and using the stdlib math functions. For example in the squared_distance calculation you could vectorizeWith something like this:
Other places to vectorize:
transpose
,gradient_descent
Thanks for sharing this with the Mojo community!