Skip to content

Commit

Permalink
Update MLCube installation command in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjurado committed Oct 21, 2021
1 parent 59bc4a0 commit d0f0baa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
12 changes: 4 additions & 8 deletions boston_housing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,11 @@ With this file we have finished the packing of the project into MLCube! Now we c

### Project setup

## Project setup

```bash
# Create Python environment
virtualenv -p python3 ./env && source ./env/bin/activate

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

# Fetch the boston housing example from GitHub
git clone https://github.com/mlcommons/mlcube_examples && cd ./mlcube_examples
Expand Down
10 changes: 2 additions & 8 deletions mnist_openfl/pytorch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,8 @@
## Project setup

```bash
# Create Python environment
virtualenv -p python3 ./env && source ./env/bin/activate

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

## Clone MLCube examples and go to mnist_openfl directory
Expand Down
10 changes: 2 additions & 8 deletions mnist_openfl/tensorflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,8 @@
## Project setup

```bash
# Create Python environment
virtualenv -p python3 ./env && source ./env/bin/activate

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

## Clone MLCube examples and go to mnist_openfl directory
Expand Down

0 comments on commit d0f0baa

Please sign in to comment.