pdufour commited on
Commit
2b8eb7a
·
verified ·
1 Parent(s): b2ca260

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +3 -0
index.js CHANGED
@@ -28,16 +28,19 @@ async function initializeSessions() {
28
  await getModelFile(ONNX_MODEL, `onnx/QwenVL_A_${QUANT}.onnx`),
29
  { executionProviders: ["webgpu"] }
30
  );
 
31
 
32
  ortSessionB = await ort.InferenceSession.create(
33
  await getModelFile(ONNX_MODEL, `onnx/QwenVL_B_${QUANT}.onnx`),
34
  { executionProviders: ["webgpu"] }
35
  );
 
36
 
37
  ortSessionC = await ort.InferenceSession.create(
38
  await getModelFile(ONNX_MODEL, `onnx/QwenVL_C_${QUANT}.onnx`),
39
  { executionProviders: ["webgpu"] }
40
  );
 
41
 
42
  status.textContent = 'Ready';
43
  }
 
28
  await getModelFile(ONNX_MODEL, `onnx/QwenVL_A_${QUANT}.onnx`),
29
  { executionProviders: ["webgpu"] }
30
  );
31
+ console.log({ortSessionA});
32
 
33
  ortSessionB = await ort.InferenceSession.create(
34
  await getModelFile(ONNX_MODEL, `onnx/QwenVL_B_${QUANT}.onnx`),
35
  { executionProviders: ["webgpu"] }
36
  );
37
+ console.log({ortSessionB});
38
 
39
  ortSessionC = await ort.InferenceSession.create(
40
  await getModelFile(ONNX_MODEL, `onnx/QwenVL_C_${QUANT}.onnx`),
41
  { executionProviders: ["webgpu"] }
42
  );
43
+ console.log({ortSessionC});
44
 
45
  status.textContent = 'Ready';
46
  }