Bring Your Own Container (BYOC)
This is an advanced feature. If you are new to DL, it would be easier to choose one of the frameworks, such as PyTorch, TensorFlow, or FastAI.
With Jarvislabs, you can Bring Your Own Container (BYOC
).
To launch an instance from a public image, follow these steps:
- Choose BYOC under the framework.
- Enter a public image name, such as
pytorch/pytorch
(organization/repository), in thedocker
field. - Ensure that you have configured your SSH key in the API keys section.
After the instance is launched, click on the SSH button
to get the SSH string and connect to the instance. The SSH string would look something like this:
β ssh -p port_number1 root@ssha.jarvislabs.ai -L port_number2:localhost:8888
Connecting to a JupyterLab inside the instanceβ
Install JupyterLab in the newly created instance:
β pip install jupyterlab
This step could change based on the image you choose. Some Docker images may have Jupyter installed, or you may need to activate a conda environment. So look at the specific Docker image docs on how it is configured to use.
Starting JupyterLabβ
β jupyter lab --allow-root
Open a browser, and enter the following URL:
β http://localhost:port_number2/
Copy the port number from the SSH URL and replace the port number above. Use the token printed in the terminal while starting JupyterLab.
This feature is in beta. If you face any challenges, please reach out to us. We will be happy to adapt and make the process smoother.
Nvidia provides a variety of optimized NGC Containers. You can choose the required container from here.