Emily CLI Documentation

Release-v3.1.0

Emily combines the powers of Python and Docker to build stable and consistent machine learning and datascience python environments. Emily is useful for large cross-team project development as well as for simply running a single jupyter notebook or python script.

Download emily@latest
See earlier versions
$ emily configuration add compose gpu [options]

Add a GPU configuration to your project, allowing you to make use of GPU capabilities.

$ emily configuration add compose gpu

? Emily: Choose a project:(Use arrow keys, confirm with ENTER)> M9VHKD - my-project
AB82JD - movie-recommender
· M9VHKD - my-project
? Emily: Please select a configuration:(Use arrow keys, confirm with ENTER)
dev
> staging
+ Add new configuration
· staging
Emily: Gpu configuration "staging" added to project my-project
(M9VHKD).

Created:

- /my/projects/my-project/staging/docker-compose.gpu.yml


Docker Compose Gpu configuration

The emily configuration add compose gpu command allows you to add functionality for using a GPU with CUDA to one of your projects.

Before adding a gpu configuration to your project, make sure that your computer is actually set up for using a GPU, otherwise the project may fail to open after adding a gpu configuration. To check whether your computer can use a GPU within a project, run emily doctor and check that the Nvidia Driver feature and all its subfeatures are fixed.

If your computer is set up for using GPU, projects built with emily build are automatically created with a gpu configuration, so you don't need to add a gpu configuration.

    Options

  • -h,--help

    Display help for command

  • -n,--name<name>

    The name of the configuration

  • -i,--image<image>

    Image to use for the base configurations. Only necessary for the "compose" and "kubernetes" subcommands.

  • -g,--gpu

    Whether a GPU is needed for the base configuration Dockerfiles. Only necessary for the "compose" and "kubernetes" subcommands.

  • -p,--project<project>

    The project to manage configurations for.

  • -s,--silent

    Execute Emily silently. (default: false)

  • -u,--update(--no-update)

    Prompt for update if newer version found. (default: true)

  • -vb,--verbose

    Print detailed information while running commands.