Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v0.1.5 #950

Merged
merged 13 commits into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,19 @@

## v0.1.5

- Significant RAM usage improvements throughout the codebase
- Add Multilayer Perceptron (MLP), a type of neural network to pymoose predictors
- `PrimDeriveSeed` operator renamed to `DeriveSeed`
- `PrimPrfKeyGen` operator renamed to `PrfKeyGen`
- Added `Host` prefix to `Seed`, `PrfKey` and `Unit`
- Unified `MeanOp` and fuse `RepFixedpointMeanOp` with `RingFixedpointMeanOp`
- Using BitVec as the data storage for HostBitTensor
- Replace sodium oxide with thread_rng and blake3
- Fix binary LinearClassifier logic

### Other changes

- Uniform textual format for rendezvous and sync keys

## v0.1.4

Expand Down
2 changes: 1 addition & 1 deletion elk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "elk"
version = "0.1.5-beta.1"
version = "0.1.5"
license = "MIT"
edition = "2018"
authors = []
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "macros"
version = "0.1.5-beta.1"
version = "0.1.5"
license = "MIT"
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion modules/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moose-modules"
version = "0.1.5-beta.1"
version = "0.1.5"
license = "MIT"
edition = "2018"
authors = []
Expand Down
2 changes: 1 addition & 1 deletion moose/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moose"
version = "0.1.5-beta.1"
version = "0.1.5"
license = "MIT"
authors = [""]
description = ""
Expand Down
4 changes: 4 additions & 0 deletions moose/src/computation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,10 @@ macro_rules! operators {
// The names below are deprecated aliases, maintained for a long period of time for compatibility
"PrimDeriveSeed" => DeriveSeedOp::from_textual, // pre v0.1.5
"PrimPrfKeyGen" => PrfKeyGenOp::from_textual, // pre v0.1.5
"HostMean" => MeanOp::from_textual, // pre v0.1.5
"FixedpointMeanOp" => MeanOp::from_textual, // pre v0.1.5
"FloatingpointMeanOp" => MeanOp::from_textual, // pre v0.1.5
"RepFixedpointMean" => MeanOp::from_textual, // pre v0.1.5
_ => parse_operator_error,
}
}
Expand Down
2 changes: 1 addition & 1 deletion pymoose/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pymoose"
version = "0.1.5-beta.1"
version = "0.1.5"
license = "MIT/Apache-2.0"
authors = [""]
description = ""
Expand Down
Binary file not shown.
2 changes: 2 additions & 0 deletions pymoose/compatibility/mean-logical-0.1.4.moose
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
x = Constant{value=HostFloat32Tensor([[1.0, 2.0], [3.0, 4.0]])}: () -> HostFloat32Tensor @Host(alice)
mean = HostMean{}: (HostFloat32Tensor) -> HostFloat32Tensor (x) @Host(alice)
2 changes: 2 additions & 0 deletions pymoose/compatibility/mean-logical-0.1.5.moose
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
x = Constant{value=HostFloat32Tensor([[1.0, 2.0], [3.0, 4.0]])}: () -> HostFloat32Tensor @Host(alice)
mean = Mean{}: (HostFloat32Tensor) -> HostFloat32Tensor (x) @Host(alice)
2 changes: 1 addition & 1 deletion pymoose/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="pymoose",
version="0.1.4", # NOTE: auto-updated during release
version="0.1.5", # NOTE: auto-updated during release
packages=setuptools.find_packages(),
python_requires=">=3.6",
install_requires=[],
Expand Down
3 changes: 3 additions & 0 deletions pymoose/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ mod compatibility_tests {
#[rstest]
#[case("compatibility/aes-lingreg-logical-0.1.2.moose")]
#[case("compatibility/aes-lingreg-logical-0.1.3.moose")]
#[case("compatibility/mean-logical-0.1.4.moose")]
#[case("compatibility/mean-logical-0.1.5.moose")]
fn test_old_versions_parsing(#[case] path: String) -> Result<(), anyhow::Error> {
let source = std::fs::read_to_string(path)?;
let computation =
Expand All @@ -365,6 +367,7 @@ mod compatibility_tests {

#[rstest]
#[case("compatibility/aes-lingreg-physical-0.1.2.moose.gz")]
#[case("compatibility/aes-lingreg-physical-0.1.5.moose.gz")]
fn test_old_versions_parsing_gzip(#[case] path: String) -> Result<(), anyhow::Error> {
use flate2::read::GzDecoder;
use std::io::Read;
Expand Down
2 changes: 1 addition & 1 deletion reindeer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "reindeer"
version = "0.1.5-beta.1"
version = "0.1.5"
license = "MIT"
edition = "2018"
authors = []
Expand Down