v0.9.0 #219
ZachNagengast
announced in
Announcements
v0.9.0
#219
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Highlights
Package Updates
With #216 the default for checking whether a model is supported on the device uses the model repo config.json as a source of truth. The need for this came about with the release of the new large-v3 turbo model, which is listed in the model repo as openai_whisper-large-v3-v20240930, which was recommended for devices that would crash if attempting to load. This situation can now be mitigated by updating this config.json without the need for a new release and can be called directly with the new static method
recommendedRemoteModels
:The existing interface for
WhisperKit.recommendedModels()
remains the same, but now returns aModelSupport
object with a list of supported models for the current device.Also, in an ongoing effort to improve modularity, extensibility, and code structure, there is a new way to initialize WhisperKit: using the new
WhisperKitConfig
class. The parameters are exactly the same and the previous init method is still in place, but this can assist in defining WhisperKit settings and protocol objects ahead of time and initialize WhisperKit more cleanly:Previous:
New:
WhisperAX example app and CLI
Thanks to some memory and audio processing optimizations in #195, #216, and #217, (shout out to @keleftheriou for finding a big improvement there) we've updated the example implementations to use VAD by default with a
concurrentWorkerCount
of 4. This will significantly improve default inference speed on long files for devices that support async prediction, as well as real time streaming for devices/model combinations that are greater than 1 real-time factor.Process.processor
is nowProcessInfo.processor
and includes a new propertyProcessInfo.hwModel
which will return a similar string asuname(&utsname)
for non-macs.public func modelSupport(for deviceName: String) -> (default: String, disabled: [String])
is now a disfavored overload in preference ofpublic func modelSupport(for deviceName: String, from config: ModelSupportConfig? = nil) -> ModelSupport
What's Changed
static var
stored properties tostatic let
by @fumoboy007 in Changestatic var
stored properties tostatic let
#190New Contributors
static var
stored properties tostatic let
#190Full Changelog: v0.8.0...v0.9.0
This discussion was created from the release v0.9.0.
Beta Was this translation helpful? Give feedback.
All reactions