Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -347,7 +347,7 @@
|
|
347 |
processor.image_processor.do_resize = false;
|
348 |
model = await AutoModel.from_pretrained(MODEL_ID, {
|
349 |
device: "webgpu",
|
350 |
-
dtype: "
|
351 |
session_options: {
|
352 |
// Optimization: Keep model output on GPU for post-processing
|
353 |
preferredOutputLocation: { last_hidden_state: "gpu-buffer" },
|
|
|
347 |
processor.image_processor.do_resize = false;
|
348 |
model = await AutoModel.from_pretrained(MODEL_ID, {
|
349 |
device: "webgpu",
|
350 |
+
dtype: "fp32",
|
351 |
session_options: {
|
352 |
// Optimization: Keep model output on GPU for post-processing
|
353 |
preferredOutputLocation: { last_hidden_state: "gpu-buffer" },
|