You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Silicon might not be the best hardware to train FSA/FST models and k2 does not officially support training on the metal shader accelerated devices.
I tried running a training for a stateless transducer zipformer with the necessary device arguments (instead of cpu) and ran into problems e.g. with the RaggedArray implementation here.
What would be a rough estimate to rudimentary implement mps support? Could anybody give me pointers where to start?
The text was updated successfully, but these errors were encountered:
My 2c, surely Dan, Fangjun, and others could tell you more: besides the need to re-write the kernels for metal, you'd have to somehow work around the design based on lambdas. CUDA and moderngpu let you write the kernels as lambda functions, you'd need to figure out how to make metal work with that (IIRC k2 heavily relies on moderngpu).
My 2c, surely Dan, Fangjun, and others could tell you more: besides the need to re-write the kernels for metal, you'd have to somehow work around the design based on lambdas. CUDA and moderngpu let you write the kernels as lambda functions, you'd need to figure out how to make metal work with that (IIRC k2 heavily relies on moderngpu).
This is more like a feature request / discussion.
Apple Silicon might not be the best hardware to train FSA/FST models and k2 does not officially support training on the metal shader accelerated devices.
I tried running a training for a stateless transducer zipformer with the necessary device arguments (instead of
cpu
) and ran into problems e.g. with theRaggedArray
implementation here.What would be a rough estimate to rudimentary implement
mps
support? Could anybody give me pointers where to start?The text was updated successfully, but these errors were encountered: