v0.10.0 #282
ZachNagengast
announced in
Announcements
v0.10.0
#282
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Highlights
This release provides support for protocol-defined model inputs and output types, supporting full MLX or MLTensor pipelines without the need to convert to MLMultiArrays between encoder/decoder stages. For example, instead of
you can now define the types by protocol:
where the types are defined as so:
or for a type that is a struct:
so the entire structure can be handled by any model that conforms to the protocol, adding more flexibility for passing different data types between models, and thus reducing the amount of conversion steps vs. previous where it was assumed to be all MLMultiArrays.
We've made a start in using different inference types by using the new
MLTensor
for token sampling on devices that have the latest OS support, which resulted in a 2x speedup for that operation. Future work will shift the entire pipeline to using these.There are also some important fixes included:
withoutTimestamps
decoding option is set to false, increasing parity with OpenAI's python implementation. This will significantly increase the amount of timestamps returned during decoding and shorten the average length of individual segments overall.<|0.00|> So in college, I was a government major,<|4.92|><|4.94|> which means I had to write a lot of papers.<|7.38|>
<|0.00|> So in college,<|2.00|><|3.36|> I was a government major,<|4.88|><|4.90|> which means I had to write a lot of papers.<|7.36|>
WhisperKit.sampleRate
has been moved toConstants.defaultWindowSamples
Finally, there were some great open-source contributions listed below, with a broad range of improvements to the library. Huge thanks to all the contributors 🙏
What's Changed
~/Documents/huggingface/...
by @iandundas in Add ability to prevent config.json being written to~/Documents/huggingface/...
#262New Contributors
Full Changelog: v0.9.4...v0.10.0
This discussion was created from the release v0.10.0.
Beta Was this translation helpful? Give feedback.
All reactions