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

Port all operations for metal #2

Open
wants to merge 16 commits into
base: tortoise
Choose a base branch
from

Conversation

pminev
Copy link

@pminev pminev commented Nov 11, 2024

Ported conv transpose 1d, pad reflect, unfold for metal backend. Had to fix "pad_f32" to add padding in the beginning for metal (part of the port, but it existed, so I had to fix it in the shader).

After all changes, I was able to run Tortoise.cpp with Metal backend. ref issue

pminev added 16 commits November 4, 2024 17:59
-- add missing strings in the op names
-- now we must implement it in the shader
-- there is a bug and we don't have audio, but at least no crashes
-- we use all available threads as other funcs in the library, so it runs faster than before
-- if this has worked before maybe it'll be if the src and dst have different size, but in tortose we had to take the params into account to make it work as it should, otherwise there were calculations mismatch
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

Successfully merging this pull request may close these issues.

1 participant