If you encounter an issue or would like to request a new feature, please create an issue on GitHub. You can also join the Slack to get support and talk with other users and developers in real-time.
https://github.com/determined-ai/determined/wiki/Project-Roadmap
We welcome outside contributions. If you'd like to make a contribution, please:
-
Tell us about what you'd like to contribute on our Slack or community mailing list. We'd hate for you to duplicate effort is already in-flight.
-
Apply the linter with
make fmt
and test locally withmake test
before submitting your code. -
The first time you submit code, you'll need to sign a CLA.
-
Submit a pull request. Someone from the Determined team will review the request and provide feedback. Once we agree that the code is in good shape, it will be merged it into master branch.
Determined can be developed and run on both Linux and macOS (Linux is strongly recommended for production deployments). Determined has been tested with Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Arch Linux, CentOS 7, and macOS. Ubuntu is recommended; on AWS, a good AMI to use is a recent version of "Deep Learning Base AMI (Ubuntu)".
Start by cloning the Determined repo:
git clone [email protected]:determined-ai/determined.git
- Go (>= 1.16)
- Python (>= 3.6, < 3.8)
- Node (>= 12)
- NPM (>= 6.12)
- Docker (>= 19.03)
- Helm (>= 3.0.0)
- Protoc (>= 3.0)
- Java (>= 7)
- cURL (>= 7)
python3 -m venv ~/.virtualenvs/determined
. ~/.virtualenvs/determined/bin/activate
make all
In the future, ensure that you activate the virtualenv (by running the
activate
command above) whenever you want to interact with Determined. Tools
such as virtualenvwrapper
or direnv may help streamline the process.
A minimal Determined cluster consists of three services: a PostgreSQL database, a Determined master, and a Determined agent.
To start the master and agent, along with a transient database, do:
make -C tools run
The database will be destroyed when the cluster is shutdown. To start a long-running database (running in the background), do:
make -C tools start-db
After following either set of instructions above, the WebUI will be available at
http://localhost:8080. You can also use our command-line tool, det
, to
interact with Determined. For example, det slot list
should print out a line
for each GPU on your machine, if you have any, or a line for your CPU, if not.
For more information, see the reference
documentation.
The tutorials/mnist_pytorch
directory contains code to train a convnet
on MNIST using PyTorch. To train a model,
run
det experiment create <config> tutorials/mnist_pytorch/
where <config>
can be
tutorials/mnist_pytorch/const.yaml
to train a single model with fixed hyperparameterstutorials/mnist_pytorch/adaptive.yaml
to train multiple models using an adaptive hyperparameter search algorithm
Determined also supports several other hyperparameter search methods.
After starting a model, you can check on its progress using the WebUI
or the CLI command det experiment list
.
Run make check
.
Run make test
.
# Run a Determined cluster
make -C tools run
# Run integration tests locally.
pytest -m "e2e_cpu" e2e_tests/tests
To connect directly to the Determined metadata database, run this command from the Determined master host:
docker run -it --rm \
--network determined \
-e PGPASSWORD=my-postgres-password \
postgres:10 psql -h determined-db -U postgres -d determined
go tool pprof http://master-ip:port # for CPU samples
go tool pprof http://master-ip:port/debug/pprof/heap # for heap samples
go tool pprof -http :8081 ~/pprof/sample-file
To use Determined with GPUs, the Nvidia drivers (>= 384.81) and
nvidia-container-toolkit
must be installed.
To verify that your system can run containers that use GPUs and CUDA, run:
docker run --gpus all --rm nvidia/cuda:10.0-cudnn7-runtime-ubuntu16.04 nvidia-smi
If this command displays one or more GPUs, the Determined agent should automatically detect the system's GPUs and make them available for running experiments.