PatStiles / data-pods-benchmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data Pods

Research prototype for the FleetDB architecture.

Build Status

Installation

  • a recent version of rust-nightly
  • python3 and pip
  • rust-sgx
  • just
  • maturin
  • protobuf-compiler
  • libssl-dev

Compilation

Then, run the justfile from the root folder.

just install

TVM Support

Data pods support machine learning applications through TVM. To enable this supportyou need a recent version of TVM and its Python modules installed. Additionally you need numpy.

Then you can run the following to install data pods with TVM support.

just USE_TVM=1 install

Terminate data-pod execution

killall data-pod-unsafe data-pod-proxy data-pods-ledger

For machine learning to work you need to have the TVM python bindings installed.

Debugging

You can enable logging by setting the RUST_LOG environment variable (see the env_logger documentation) and backtraces by setting the RUST_BACKTRACE environment variable.

Right now, data pods will only generate log information when running in unsecure mode.

About


Languages

Language:Rust 94.2%Language:Python 5.3%Language:Shell 0.5%