Xenova HF Staff commited on
Commit
10250fc
·
verified ·
1 Parent(s): f764ac8

Update index.html

Browse files
Files changed (1) hide show
  1. 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: "q4",
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" },