Skip to content

[BUG] benchmarks don't run on mac #778

@harsha-simhadri

Description

@harsha-simhadri

Expected Behavior

The following cmd should run on out of the box on mac

cargo run --release --package diskann-benchmark -- run --input-file ./diskann-benchmark/example/async.json --output-file output.json 

Actual Behavior

It looked for io_uring and failed

Example Code

Please see How to create a Minimal, Reproducible example for some guidance on creating the best possible example of the problem

Dataset Description

Please tell us about the shape and datatype of your data, (e.g. 128 dimensions, 12.3 billion points, floats)

  • Dimensions:
  • Number of Points:
  • Data type:

Error

   Compiling diskann-benchmark-core v0.46.0 (/Users/harsha/repos/DiskANN/diskann-benchmark-core)
error[E0432]: unresolved import `io_uring`
 --> diskann-platform/src/linux/ssd_io_context.rs:8:5
  |
8 | use io_uring::IoUring;
  |     ^^^^^^^^ use of unresolved module or unlinked crate `io_uring`
  |
  = help: if you wanted to use a crate named `io_uring`, use `cargo add io_uring` to add it to your `Cargo.toml`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `diskann-platform` (lib) due to 1 previous error

Your Environment

  • Operating system (macOS Tahoe 26.1)
  • DiskANN version (0.46.0)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions