Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
twitchax committed Dec 21, 2023
1 parent 8815b02 commit f988cff
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kord"
version = "0.7.0"
version = "0.7.1"
edition = "2021"
authors = ["Aaron Roney <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -47,11 +47,13 @@ analyze_file_alac = ["symphonia/alac", "symphonia/isomp4"]
ml = ["ml_train", "ml_infer"]
ml_base = ["serde", "byteorder", "bincode"]
ml_train = ["ml_base", "rand", "rayon", "burn-autodiff", "burn/train", "burn/std", "burn/wgpu", "burn/metrics", "burn-ndarray/std", "burn/tui"]
ml_infer = ["ml_base", "burn", "burn-ndarray"]
ml_infer = ["ml_base", "burn", "burn-ndarray", "burn-ndarray/std"]
ml_gpu = ["ml_train", "burn-tch", "burn-wgpu"]

wasm = ["rodio/wasm-bindgen", "wasm-bindgen", "wasm-bindgen-futures", "js-sys", "console_error_panic_hook", "wee_alloc", "gloo-timers", "burn/wasm-sync"]

wasi = ["burn/wasm-sync"]

plot = ["plotters"]

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ $ wasm-pack publish
## Publish to wasmer

```bash
$ cargo wasi build --release --no-default-features --features cli --features ml_infer --features analyze_file
$ cargo wasi build --release --no-default-features --features wasi --features cli --features ml_infer --features analyze_file
$ cargo wasix publish
```
5 changes: 2 additions & 3 deletions model/model_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"simulation_peak_radius": 2.0,
"simulation_harmonic_decay": 0.1,
"simulation_frequency_wobble": 0.4,
"mlp_layers": 3,
"mlp_size": 1024,
"mlp_dropout": 0.3,
"mha_heads": 8,
"mha_dropout": 0.3,
"model_epochs": 64,
"model_batch_size": 100,
"model_workers": 64,
Expand Down
Binary file modified model/state.json.bin
Binary file not shown.
2 changes: 0 additions & 2 deletions rust-toolchain.toml

This file was deleted.

2 changes: 1 addition & 1 deletion src/core/note.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ impl PartialOrd for Note {

impl Ord for Note {
fn cmp(&self, other: &Self) -> Ordering {
self.partial_cmp(other).unwrap_or(Ordering::Equal)
self.frequency().partial_cmp(&other.frequency()).unwrap_or(Ordering::Equal)
}
}

Expand Down

0 comments on commit f988cff

Please sign in to comment.