Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.
/ dt-marketplace Public archive

The data tracer and marketplace for decentralized data & tutorials for external developers

License

Notifications You must be signed in to change notification settings

MVP-Labs/dt-marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dt-marketplace

Prerequisites

> git clone https://github.com/ownership-labs/dt-contracts
> git clone https://github.com/ownership-labs/DataToken
> git clone https://github.com/ownership-labs/Compute-to-Data
> git clone https://github.com/ownership-labs/dt-marketplace

Quick Start

Prepare the datatoken environments and deploy a grid network with two on-premise data sandbox.

> cd dt-marketplace/examples
> ./scripts/init_datatoken_env.sh
> ./scripts/deploy_dsb_network.sh

The console will display leaf datatoken identifiers for three private datasets. You need to fill them in ./samples/ddo/3rd_algo_attr.json.

> ./scripts/get_compose_perm.sh

The console will display the composable datatoken identifier for the 3rd algorithm. You need to fill it in ./scripts/run_remote_execution.sh. Then 3rd-party can execute computation on two remote sandbox.

> ./scripts/run_remote_execution.sh

The console will display the job_id. You can see the algorithm running logs.

> cat ./workdir/job_`job_id`/outputs/test.log
2021-06-15 13:32:08,813 - INFO - ==================
2021-06-15 13:32:08,813 - INFO - DistributedCommunicator with rank 0
2021-06-15 13:32:08,813 - INFO - ==================
2021-06-15 13:32:28,695 - INFO - World size = 2
2021-06-15 13:32:28,963 - INFO - CrypTen Training
2021-06-15 13:32:29,096 - INFO - Epoch 0, Batch 0 --- Loss 0.6741, Accuracy 62.00
2021-06-15 13:32:29,189 - INFO - Epoch 0, Batch 1 --- Loss 0.6776, Accuracy 61.00
2021-06-15 13:32:29,277 - INFO - Epoch 0, Batch 2 --- Loss 0.6854, Accuracy 57.00
2021-06-15 13:32:29,359 - INFO - Epoch 0, Batch 3 --- Loss 0.6868, Accuracy 56.00
2021-06-15 13:32:29,443 - INFO - Epoch 0, Batch 4 --- Loss 0.6853, Accuracy 56.00
2021-06-15 13:32:29,550 - INFO - Epoch 0, Batch 5 --- Loss 0.6683, Accuracy 67.00
...

Alternatively, set up the tracer and marketplace UIs to browse the data assets.

> ./scripts/setup_platform_ui.sh

About

The data tracer and marketplace for decentralized data & tutorials for external developers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published