Skip to content

Commit

Permalink
chore: update data for the 0.10 breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
IceTDrinker committed Nov 5, 2024
1 parent be7757a commit ea6a781
Show file tree
Hide file tree
Showing 20 changed files with 103 additions and 125 deletions.
72 changes: 36 additions & 36 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ tfhe_0_8 = { version = "0.8", features = [
"zk-pok",
"experimental-force_fft_algo_dif4",
], package = "tfhe", optional = true }
tfhe_0_9 = { version = "0.9", features = [
tfhe_0_10 = { version = "0.10", features = [
"boolean",
"integer",
"shortint",
"x86_64-unix",
"zk-pok",
"experimental-force_fft_algo_dif4",
], package = "tfhe", optional = true, git = "https://github.com/zama-ai/tfhe-rs/", branch = "am/chore/make-ks-level-order-consistent" }
], package = "tfhe", optional = true, git = "https://github.com/zama-ai/tfhe-rs/", branch = "am/refactor/use-natural-decomposition-order" }

tfhe_0_8-versionable = { version = "0.3", optional = true, package = "tfhe-versionable" }
tfhe_0_9-versionable = { version = "0.3", optional = true, package = "tfhe-versionable", git = "https://github.com/zama-ai/tfhe-rs/", branch = "am/chore/make-ks-level-order-consistent" }
tfhe_0_10-versionable = { version = "0.3", optional = true, package = "tfhe-versionable", git = "https://github.com/zama-ai/tfhe-rs/", branch = "am/refactor/use-natural-decomposition-order" }

# other deps
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -46,8 +46,8 @@ default = ["generate"]

generate = [
"dep:tfhe_0_8",
"dep:tfhe_0_9",
"dep:tfhe_0_10",
"dep:tfhe_0_8-versionable",
"dep:tfhe_0_9-versionable",
"dep:tfhe_0_10-versionable",
]
load = ["dep:semver"]
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions data/0_10/high_level_api/compressed_server_key.bcode
Git LFS file not shown
3 changes: 3 additions & 0 deletions data/0_10/high_level_api/compressed_server_key.cbor
Git LFS file not shown
3 changes: 3 additions & 0 deletions data/0_10/high_level_api/server_key_with_compression.bcode
Git LFS file not shown
3 changes: 3 additions & 0 deletions data/0_10/high_level_api/server_key_with_compression.cbor
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/0_8/high_level_api/server_key.bcode

This file was deleted.

3 changes: 0 additions & 3 deletions data/0_8/high_level_api/server_key.cbor

This file was deleted.

3 changes: 0 additions & 3 deletions data/0_8/high_level_api/server_key_with_compression.bcode

This file was deleted.

3 changes: 0 additions & 3 deletions data/0_8/high_level_api/server_key_with_compression.cbor

This file was deleted.

3 changes: 0 additions & 3 deletions data/0_9/high_level_api/compressed_server_key.bcode

This file was deleted.

3 changes: 0 additions & 3 deletions data/0_9/high_level_api/compressed_server_key.cbor

This file was deleted.

31 changes: 11 additions & 20 deletions data/high_level_api.ron
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@
),
)),
),
(
tfhe_version_min: "0.8",
tfhe_module: "high_level_api",
metadata: HlServerKey((
test_filename: "server_key",
client_key_filename: "batch_1_client_key",
compressed: false,
)),
),
(
tfhe_version_min: "0.8",
tfhe_module: "high_level_api",
Expand Down Expand Up @@ -330,16 +321,7 @@
)),
),
(
tfhe_version_min: "0.8",
tfhe_module: "high_level_api",
metadata: HlServerKey((
test_filename: "server_key_with_compression",
client_key_filename: "client_key_with_compression",
compressed: false,
)),
),
(
tfhe_version_min: "0.9",
tfhe_version_min: "0.10",
tfhe_module: "high_level_api",
metadata: HlClientKey((
test_filename: "client_key",
Expand Down Expand Up @@ -367,12 +349,21 @@
)),
),
(
tfhe_version_min: "0.9",
tfhe_version_min: "0.10",
tfhe_module: "high_level_api",
metadata: HlServerKey((
test_filename: "compressed_server_key",
client_key_filename: "client_key.cbor",
compressed: true,
)),
),
(
tfhe_version_min: "0.10",
tfhe_module: "high_level_api",
metadata: HlServerKey((
test_filename: "server_key_with_compression",
client_key_filename: "client_key.cbor",
compressed: false,
)),
),
]
Loading

0 comments on commit ea6a781

Please sign in to comment.