Skip to content

Commit d0f0baa

Browse files
committed
Update MLCube installation command in Readme
1 parent 59bc4a0 commit d0f0baa

File tree

3 files changed

+8
-24
lines changed

3 files changed

+8
-24
lines changed

boston_housing/README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,11 @@ With this file we have finished the packing of the project into MLCube! Now we c
187187

188188
### Project setup
189189

190+
## Project setup
191+
190192
```bash
191-
# Create Python environment
192-
virtualenv -p python3 ./env && source ./env/bin/activate
193-
194-
# Install MLCube and MLCube docker runner from GitHub repository
195-
# (normally, users will just run `pip install mlcube mlcube_docker`)
196-
git clone https://github.com/mlcommons/mlcube && cd mlcube/mlcube
197-
python setup.py bdist_wheel && pip install --force-reinstall ./dist/mlcube-* && cd ..
198-
cd ./runners/mlcube_docker && python setup.py bdist_wheel && pip install --force-reinstall --no-deps ./dist/mlcube_docker-* && cd ../../..
193+
# Create Python environment and install MLCube Docker runner
194+
virtualenv -p python3 ./env && source ./env/bin/activate && pip install mlcube-docker
199195

200196
# Fetch the boston housing example from GitHub
201197
git clone https://github.com/mlcommons/mlcube_examples && cd ./mlcube_examples

mnist_openfl/pytorch/README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@
33
## Project setup
44

55
```bash
6-
# Create Python environment
7-
virtualenv -p python3 ./env && source ./env/bin/activate
8-
9-
# Install MLCube and MLCube docker runner from GitHub repository
10-
# (normally, users will just run `pip install mlcube mlcube_docker`)
11-
git clone https://github.com/mlcommons/mlcube && cd mlcube/mlcube
12-
python setup.py bdist_wheel && pip install --force-reinstall ./dist/mlcube-* && cd ..
13-
cd ./runners/mlcube_docker && python setup.py bdist_wheel && pip install --force-reinstall --no-deps ./dist/mlcube_docker-* && cd ../../..
6+
# Create Python environment and install MLCube Docker runner
7+
virtualenv -p python3 ./env && source ./env/bin/activate && pip install mlcube-docker
148
```
159

1610
## Clone MLCube examples and go to mnist_openfl directory

mnist_openfl/tensorflow/README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@
33
## Project setup
44

55
```bash
6-
# Create Python environment
7-
virtualenv -p python3 ./env && source ./env/bin/activate
8-
9-
# Install MLCube and MLCube docker runner from GitHub repository
10-
# (normally, users will just run `pip install mlcube mlcube_docker`)
11-
git clone https://github.com/mlcommons/mlcube && cd mlcube/mlcube
12-
python setup.py bdist_wheel && pip install --force-reinstall ./dist/mlcube-* && cd ..
13-
cd ./runners/mlcube_docker && python setup.py bdist_wheel && pip install --force-reinstall --no-deps ./dist/mlcube_docker-* && cd ../../..
6+
# Create Python environment and install MLCube Docker runner
7+
virtualenv -p python3 ./env && source ./env/bin/activate && pip install mlcube-docker
148
```
159

1610
## Clone MLCube examples and go to mnist_openfl directory

0 commit comments

Comments
 (0)