@kaminos/webgpu-inference-kit 0.1.0 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaminos/webgpu-inference-kit",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Native WebGPU inference route substrate for Kaminos.",
package/src/index.js CHANGED
@@ -25,6 +25,7 @@ export {
25
25
  } from './staged-profile.js';
26
26
 
27
27
  export {
28
+ WEBGPU_INFERENCE_KIT_VERSION,
28
29
  createKernelProfileMetadata,
29
30
  createRouteKernelProfileMetadata,
30
31
  createRouteTimingMetadata,
@@ -1,4 +1,5 @@
1
- const DEFAULT_KIT_VERSION = '0.0.0';
1
+ export const WEBGPU_INFERENCE_KIT_VERSION = '0.1.1';
2
+ const DEFAULT_KIT_VERSION = WEBGPU_INFERENCE_KIT_VERSION;
2
3
  const DEFAULT_TIMING_SOURCE = 'queue-submit-wait';
3
4
 
4
5
  function isNonEmptyString(value) {
@@ -10,11 +10,12 @@ import {
10
10
  WEBGPU_ROUTE_REQUEST_SCHEMA,
11
11
  WEBGPU_ROUTE_RESULT_SCHEMA,
12
12
  } from './route-boundary.js';
13
+ import { WEBGPU_INFERENCE_KIT_VERSION } from './kernel-profile.js';
13
14
 
14
15
  export function createWebGpuRouteSchemaContract(input = {}) {
15
16
  return {
16
17
  schema: 'kaminos.webgpu-route-schema-contract.v0',
17
- kitVersion: input.kitVersion || '0.0.0',
18
+ kitVersion: input.kitVersion || WEBGPU_INFERENCE_KIT_VERSION,
18
19
  definitionSchema: WEBGPU_ROUTE_DEFINITION_SCHEMA,
19
20
  requestSchema: WEBGPU_ROUTE_REQUEST_SCHEMA,
20
21
  resultSchema: WEBGPU_ROUTE_RESULT_SCHEMA,