Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vanilla C and/or arm64 support? #107

Open
josharian opened this issue Mar 29, 2023 · 1 comment
Open

vanilla C and/or arm64 support? #107

josharian opened this issue Mar 29, 2023 · 1 comment

Comments

@josharian
Copy link

I am trying to get serenade.ai to execute natively on an m1 mac (not rosetta). This is one of a very small number of dependencies that cannot be compiled at all on arm64. (Unless I'm missing something, which would be great.)

This is not on a critical performance path for serenade, so a vanilla C implementation (with appropriate build flags) would suffice.

I am also personally familiar enough with arm64 SIMD instructions that I could probably cobble together a reasonably optimized version, if needed.

Would such PRs be welcome?

(I would anticipate a little bit of back and forth; my C is rusty. Or actually, it's probably Go-y. :P)

@kpu
Copy link
Owner

kpu commented Mar 29, 2023

Such PRs would be would be welcome. For ARM, we've been using https://github.com/google/ruy though the lack of postprocessing google/ruy#307 is cramping my style (and requiring an extra round-trip to RAM to add bias terms).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants