@litert-lm/core 0.12.1 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/litertlm_web.js
CHANGED
|
@@ -26,7 +26,7 @@ export async function setupDefaultWebGpuDevice() {
|
|
|
26
26
|
*/
|
|
27
27
|
export class LiteRtLm {
|
|
28
28
|
liteRtLmWasm;
|
|
29
|
-
static DEFAULT_WASM_PATH = 'https://cdn.jsdelivr.net/npm/@litert-lm/core@0.
|
|
29
|
+
static DEFAULT_WASM_PATH = 'https://cdn.jsdelivr.net/npm/@litert-lm/core@0.13.1/wasm';
|
|
30
30
|
constructor(wasmModule) {
|
|
31
31
|
this.liteRtLmWasm = wasmModule;
|
|
32
32
|
this.liteRtLmWasm.setupLogging();
|
package/package.json
CHANGED
|
@@ -7748,7 +7748,8 @@ function _wgpuDeviceCreatePipelineLayout(devicePtr, descriptor) {
|
|
|
7748
7748
|
}
|
|
7749
7749
|
var desc = {
|
|
7750
7750
|
"label": WebGPU.makeStringFromOptionalStringView(descriptor + 4),
|
|
7751
|
-
"bindGroupLayouts": bgls
|
|
7751
|
+
"bindGroupLayouts": bgls,
|
|
7752
|
+
"immediateSize": HEAPU32[(((descriptor) + (20)) >>> 2) >>> 0]
|
|
7752
7753
|
};
|
|
7753
7754
|
var device = WebGPU.getJsObject(devicePtr);
|
|
7754
7755
|
var ptr = _emwgpuCreatePipelineLayout(0);
|
|
@@ -7983,11 +7984,11 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
7983
7984
|
// End JS library exports
|
|
7984
7985
|
// end include: postlibrary.js
|
|
7985
7986
|
var ASM_CONSTS = {
|
|
7986
|
-
|
|
7987
|
+
2079340: $0 => {
|
|
7987
7988
|
const device = WebGPU.getJsObject($0);
|
|
7988
7989
|
return device.features.has("subgroups");
|
|
7989
7990
|
},
|
|
7990
|
-
|
|
7991
|
+
2079424: () => !!Module["preinitializedWebGPUDevice"]
|
|
7991
7992
|
};
|
|
7992
7993
|
|
|
7993
7994
|
function custom_emscripten_dbgn(str, len) {
|
|
Binary file
|
|
@@ -7748,7 +7748,8 @@ function _wgpuDeviceCreatePipelineLayout(devicePtr, descriptor) {
|
|
|
7748
7748
|
}
|
|
7749
7749
|
var desc = {
|
|
7750
7750
|
"label": WebGPU.makeStringFromOptionalStringView(descriptor + 4),
|
|
7751
|
-
"bindGroupLayouts": bgls
|
|
7751
|
+
"bindGroupLayouts": bgls,
|
|
7752
|
+
"immediateSize": HEAPU32[(((descriptor) + (20)) >>> 2) >>> 0]
|
|
7752
7753
|
};
|
|
7753
7754
|
var device = WebGPU.getJsObject(devicePtr);
|
|
7754
7755
|
var ptr = _emwgpuCreatePipelineLayout(0);
|
|
@@ -7983,11 +7984,11 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
7983
7984
|
// End JS library exports
|
|
7984
7985
|
// end include: postlibrary.js
|
|
7985
7986
|
var ASM_CONSTS = {
|
|
7986
|
-
|
|
7987
|
+
2079276: $0 => {
|
|
7987
7988
|
const device = WebGPU.getJsObject($0);
|
|
7988
7989
|
return device.features.has("subgroups");
|
|
7989
7990
|
},
|
|
7990
|
-
|
|
7991
|
+
2079360: () => !!Module["preinitializedWebGPUDevice"]
|
|
7991
7992
|
};
|
|
7992
7993
|
|
|
7993
7994
|
function custom_emscripten_dbgn(str, len) {
|
|
Binary file
|