-
Notifications
You must be signed in to change notification settings - Fork 47
Implement required adaptations in the extension in order to utilize the intgemm intrinsincs #75
Comments
Because hopefully it's much faster! Also WORMHOLE or not WORMHOLE build? Which do we put into our plugin bundle? mozilla#75 and mozilla#73 might be relevant.
We will see speed-up only if the extension is a privileged one. Otherwise, the extension will fallback to extremely slow fallback gemm. |
Well, if the extension is not privileged, it won't work at all, since the UI also requires privileged permissions. There's no scenario where this can work at all if not privileged. But why can't we use the wormhole version when the intrinsics are not present, like in Release? |
We can definitely use this approach but only in FFx because wormhole is FFx specific. For non-FFx case, we will have to use the slow fallback gemm. So the solution would be:
To support this workflow, the extension:
|
@abhi-agg the extension won't work on non-FF environments anyway, since it utilizes privileged APIs not available in other browsers, so yes, in other browsers, in the context of a regular webpage, it should Being specific to your question: |
This reduces the overall complexity then. Since this extension won't work on non-FFx environments, there is no need to load/import the translator artifacts that support the non-FFx browsers (i.e. non-wormhole ones) in this extension. This implies:
We don't need to do any of this because the extension should use optimized gemm whenever it is available and resorts to use wormhole-based fallback gemm otherwise. This is achievable using only 1 set of artifacts and has been fixed in #111. Hence closing this issue. |
No description provided.
The text was updated successfully, but these errors were encountered: