From 7248029db5f281b50a83888d9f6bb567132326ca Mon Sep 17 00:00:00 2001 From: Dean Srebnik <49134864+load1n9@users.noreply.github.com> Date: Sun, 29 Sep 2024 22:44:29 -0400 Subject: [PATCH] fix: slow types --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- deno.jsonc | 2 +- packages/core/src/backends/cpu/mod.ts | 2 +- packages/core/src/backends/gpu/mod.ts | 2 +- packages/core/src/backends/wasm/mod.ts | 2 +- packages/tokenizers/mod.ts | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a137cda..583a416 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -356,7 +356,7 @@ dependencies = [ [[package]] name = "netsaur" -version = "0.4.1" +version = "0.4.2" dependencies = [ "getrandom", "js-sys", @@ -370,7 +370,7 @@ dependencies = [ [[package]] name = "netsaur-gpu" -version = "0.4.1" +version = "0.4.2" dependencies = [ "cudarc", "ndarray", @@ -383,7 +383,7 @@ dependencies = [ [[package]] name = "netsaur-tokenizers" -version = "0.4.1" +version = "0.4.2" dependencies = [ "getrandom", "js-sys", diff --git a/Cargo.toml b/Cargo.toml index 0fe0b9f..e697c19 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -package.version = "0.4.1" +package.version = "0.4.2" members = ["crates/*"] resolver = "2" diff --git a/deno.jsonc b/deno.jsonc index d591116..52e8761 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -1,6 +1,6 @@ { "name": "@denosaurs/netsaur", - "version": "0.4.1", + "version": "0.4.2", "exports": { ".": "./mod.ts", "./web": "./web.ts", diff --git a/packages/core/src/backends/cpu/mod.ts b/packages/core/src/backends/cpu/mod.ts index 53a096b..7a6dd00 100644 --- a/packages/core/src/backends/cpu/mod.ts +++ b/packages/core/src/backends/cpu/mod.ts @@ -15,7 +15,7 @@ const options: FetchOptions = { name: "netsaur", url: new URL(import.meta.url).protocol !== "file:" ? new URL( - "https://github.com/denosaurs/netsaur/releases/download/0.4.1/", + "https://github.com/denosaurs/netsaur/releases/download/0.4.2/", import.meta.url, ) : "./target/release/", diff --git a/packages/core/src/backends/gpu/mod.ts b/packages/core/src/backends/gpu/mod.ts index bac9c99..861c597 100644 --- a/packages/core/src/backends/gpu/mod.ts +++ b/packages/core/src/backends/gpu/mod.ts @@ -15,7 +15,7 @@ const options: FetchOptions = { name: "netsaur_gpu", url: new URL(import.meta.url).protocol !== "file:" ? new URL( - "https://github.com/denosaurs/netsaur/releases/download/0.4.1/", + "https://github.com/denosaurs/netsaur/releases/download/0.4.2/", import.meta.url, ) : "./target/release/", diff --git a/packages/core/src/backends/wasm/mod.ts b/packages/core/src/backends/wasm/mod.ts index becf182..ff709ea 100644 --- a/packages/core/src/backends/wasm/mod.ts +++ b/packages/core/src/backends/wasm/mod.ts @@ -22,7 +22,7 @@ export class WASMInstance { await instantiate({ url: new URL(import.meta.url).protocol !== "file:" ? new URL( - "https://github.com/denosaurs/netsaur/releases/download/0.4.1/netsaur_bg.wasm", + "https://github.com/denosaurs/netsaur/releases/download/0.4.2/netsaur_bg.wasm", import.meta.url, ) : undefined, diff --git a/packages/tokenizers/mod.ts b/packages/tokenizers/mod.ts index 5853c48..7139fe2 100644 --- a/packages/tokenizers/mod.ts +++ b/packages/tokenizers/mod.ts @@ -16,7 +16,7 @@ export async function init(): Promise { await instantiate({ url: new URL(import.meta.url).protocol !== "file:" ? new URL( - "https://github.com/denosaurs/netsaur/releases/download/0.4.1/netsaur_tokenizers_bg.wasm", + "https://github.com/denosaurs/netsaur/releases/download/0.4.2/netsaur_tokenizers_bg.wasm", import.meta.url, ) : undefined,