Spaces:
Sleeping
Sleeping
Commit ·
d314abb
1
Parent(s): 45255a4
fix(webgpu): bump transformers.js to v3.8.1 to support lfm2 architecture
Browse files- webgpu_prototype.html +1 -1
webgpu_prototype.html
CHANGED
|
@@ -27,7 +27,7 @@
|
|
| 27 |
|
| 28 |
<script type="module">
|
| 29 |
// Import transformers.js (v3 is required for WebGPU support for most modern models)
|
| 30 |
-
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.
|
| 31 |
|
| 32 |
const statusEl = document.getElementById('wg-status');
|
| 33 |
const contextEl = document.getElementById('wg-context');
|
|
|
|
| 27 |
|
| 28 |
<script type="module">
|
| 29 |
// Import transformers.js (v3 is required for WebGPU support for most modern models)
|
| 30 |
+
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.8.1';
|
| 31 |
|
| 32 |
const statusEl = document.getElementById('wg-status');
|
| 33 |
const contextEl = document.getElementById('wg-context');
|