Skip to content

Commit

Permalink
fix: versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Oct 18, 2023
1 parent 532667b commit 62ac81b
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ console.log(`1 xor 1 = ${out4[0]} (should be close to 0)`);
### Documentation

The full documentation for Netsaur can be found
[here](https://deno.land/x/[email protected].12/mod.ts).
[here](https://deno.land/x/[email protected].13/mod.ts).

### License

Expand Down
2 changes: 1 addition & 1 deletion crates/core-gpu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "netsaur-gpu"
version = "0.2.12"
version = "0.2.13"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion crates/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "netsaur"
version = "0.2.12"
version = "0.2.13"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion crates/tokenizers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "netsaur-tokenizers"
version = "0.2.12"
version = "0.2.13"

[lib]
crate-type = ["cdylib"]
Expand Down
6 changes: 3 additions & 3 deletions examples/visualize.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
}
],
"source": [
"import { tensor1D } from \"https://deno.land/x/[email protected].12/mod.ts\";\n",
"import { Visualizer } from \"https://deno.land/x/[email protected].12/visualizer/mod.ts\";\n",
"import { tensor1D } from \"https://deno.land/x/[email protected].13/mod.ts\";\n",
"import { Visualizer } from \"https://deno.land/x/[email protected].13/visualizer/mod.ts\";\n",
"\n",
"import {\n",
" Cost,\n",
Expand All @@ -74,7 +74,7 @@
" setupBackend,\n",
" SigmoidLayer,\n",
" tensor2D,\n",
"} from \"https://deno.land/x/[email protected].12/mod.ts\";\n",
"} from \"https://deno.land/x/[email protected].13/mod.ts\";\n",
" \n",
"await setupBackend(AUTO);\n",
"\n",
Expand Down
8 changes: 4 additions & 4 deletions examples/xor.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}
],
"source": [
"import { setupBackend, CPU } from \"https://deno.land/x/[email protected].12/mod.ts\";\n",
"import { setupBackend, CPU } from \"https://deno.land/x/[email protected].13/mod.ts\";\n",
"await setupBackend(CPU);"
]
},
Expand Down Expand Up @@ -68,7 +68,7 @@
}
],
"source": [
"import { setupBackend, WASM } from \"https://deno.land/x/[email protected].12/mod.ts\";\n",
"import { setupBackend, WASM } from \"https://deno.land/x/[email protected].13/mod.ts\";\n",
"await setupBackend(WASM);"
]
},
Expand All @@ -92,7 +92,7 @@
"metadata": {},
"outputs": [],
"source": [
"import { setupBackend, GPU } from \"https://deno.land/x/[email protected].12/mod.ts\";\n",
"import { setupBackend, GPU } from \"https://deno.land/x/[email protected].13/mod.ts\";\n",
"await setupBackend(GPU);"
]
},
Expand All @@ -109,7 +109,7 @@
"metadata": {},
"outputs": [],
"source": [
"import { Sequential, DenseLayer, SigmoidLayer, Cost, tensor2D, tensor1D } from \"https://deno.land/x/[email protected].12/mod.ts\";\n",
"import { Sequential, DenseLayer, SigmoidLayer, Cost, tensor2D, tensor1D } from \"https://deno.land/x/[email protected].13/mod.ts\";\n",
"const net = new Sequential({\n",
" /**\n",
" * The number of minibatches is set to 4 and the output size is set to 2.\n",
Expand Down
2 changes: 1 addition & 1 deletion src/backends/cpu/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const options: FetchOptions = {
name: "netsaur",
url: new URL(import.meta.url).protocol !== "file:"
? new URL(
"https://github.com/denosaurs/netsaur/releases/download/0.2.10/",
"https://github.com/denosaurs/netsaur/releases/download/0.2.13/",
import.meta.url,
)
: "./target/release/",
Expand Down
2 changes: 1 addition & 1 deletion src/backends/gpu/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,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.2.12/",
"https://github.com/denosaurs/netsaur/releases/download/0.2.13/",
import.meta.url,
)
: "./target/release/",
Expand Down
4 changes: 2 additions & 2 deletions src/backends/wasm/lib/netsaur.generated.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @generated file from wasmbuild -- do not edit
// deno-lint-ignore-file
// deno-fmt-ignore-file
// source-hash: cd2ea424aa05fea9255bfa891fb3409cad9fde77
// source-hash: d2763e5966c8367f7be14106af540e555164a811
let wasm;
let cachedInt32Memory0;

Expand Down Expand Up @@ -203,7 +203,7 @@ const imports = {
__wbindgen_object_drop_ref: function (arg0) {
takeObject(arg0);
},
__wbg_log_94d5088905279a11: function (arg0, arg1) {
__wbg_log_fd19485ee91363a8: function (arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
},
__wbindgen_number_new: function (arg0) {
Expand Down
Binary file modified src/backends/wasm/lib/netsaur_bg.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion src/backends/wasm/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class WASMInstance {
await instantiate({
url: new URL(import.meta.url).protocol !== "file:"
? new URL(
"https://github.com/denosaurs/netsaur/releases/download/0.2.12/netsaur_bg.wasm",
"https://github.com/denosaurs/netsaur/releases/download/0.2.13/netsaur_bg.wasm",
import.meta.url,
)
: undefined,
Expand Down
2 changes: 1 addition & 1 deletion tokenizers/lib/netsaur_tokenizers.generated.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @generated file from wasmbuild -- do not edit
// deno-lint-ignore-file
// deno-fmt-ignore-file
// source-hash: 64705faeaa7d050716ef5711a8e4eeaf4224b864
// source-hash: 78d396cb1d4bd48d3b906442e5d99b03fe98f891
let wasm;

const heap = new Array(128).fill(undefined);
Expand Down
Binary file modified tokenizers/lib/netsaur_tokenizers_bg.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion tokenizers/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function init() {
await instantiate({
url: new URL(import.meta.url).protocol !== "file:"
? new URL(
"https://github.com/denosaurs/netsaur/releases/download/0.2.12/netsaur_tokenizers_bg.wasm",
"https://github.com/denosaurs/netsaur/releases/download/0.2.13/netsaur_tokenizers_bg.wasm",
import.meta.url,
)
: undefined,
Expand Down

0 comments on commit 62ac81b

Please sign in to comment.