-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] move wiki to Read the Docs (#945)
* fixed Python-API references * moved Features section to ReadTheDocs * fixed index of ReadTheDocs * moved Experiments section to ReadTheDocs * fixed capital letter * fixed citing * moved Parallel Learning section to ReadTheDocs * fixed markdown * fixed Python-API * fixed link to Quick-Start * fixed gpu docker README * moved Installation Guide from wiki to ReadTheDocs * removed references to wiki * fixed capital letters in headings * hotfixes * fixed non-Unicode symbols and reference to Python API * fixed citing references * fixed links in .md files * fixed links in .rst files * store images locally in the repo * fixed missed word * fixed indent in Experiments.rst * fixed 'Duplicate implicit target name' message which is successfully resolved by adding anchors * less verbose * prevented maito: ref creation * fixed indents * fixed 404 * fixed 403 * fixed 301 * fixed fake anchors * fixed file extentions * fixed Sphinx warnings * added StrikerRUS profile link to FAQ * added henry0312 profile link to FAQ
- Loading branch information
1 parent
717b20f
commit 2d53591
Showing
64 changed files
with
1,107 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,46 @@ | ||
# Dockerfile for LightGBM supporting GPU with Python | ||
A docker file with lightgbm utilizing nvidia-docker. The file is based on the nvidia/cuda:8.0 image. lightgbm can be utilized in gpu and cpu modes and via python (2.7 & 3.5) | ||
### Contents | ||
# Dockerfile for LightGBM GPU Version with Python | ||
|
||
A docker file with LightGBM utilizing nvidia-docker. The file is based on the nvidia/cuda:8.0 image. LightGBM can be utilized in GPU and CPU modes and via Python (2.7 & 3.5) | ||
|
||
## Contents | ||
|
||
- LightGBM (cpu + gpu) | ||
- Python 2.7 (Conda) + scikit-learn notebooks pandas matplotlib | ||
- Python 3.5 (Conda) + scikit-learn notebooks pandas matplotlib | ||
|
||
Running the container starts a jupyter notebook at localhost:8888 | ||
|
||
jupyter password: keras | ||
### Requirements | ||
|
||
## Requirements | ||
|
||
Requires docker and [nvidia-docker](https://github.com/NVIDIA/nvidia-docker) on host machine. | ||
### Quickstart | ||
|
||
##### Build Docker Image | ||
## Quickstart | ||
|
||
### Build Docker Image | ||
|
||
```sh | ||
mkdir lightgbm-docker | ||
cd lightgbm-docker | ||
wget https://github.com/Microsoft/LightGBM/blob/master/docker/gpu/dockerfile.gpu | ||
cd lightgbm-docker | ||
docker build -f dockerfile.gpu -t lightgbm-gpu . | ||
``` | ||
##### Run Image | ||
|
||
### Run Image | ||
|
||
```sh | ||
nvidia-docker run --rm -d --name lightgbm-gpu -p 8888:8888 -v /home:/home lightgbm-gpu | ||
``` | ||
|
||
##### Attach with Command Line Access (if required) | ||
### Attach with Command Line Access (if required) | ||
|
||
```sh | ||
docker exec -it lightgbm-gpu bash | ||
``` | ||
##### Jupyter Notebook | ||
|
||
### Jupyter Notebook | ||
|
||
```sh | ||
localhost:8888 | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.