vessl
This package serves as both CLI for your terminal and SDK for your projects.
Documentation is provided at https://docs.vessl.ai/api-reference/what-is-the-vessl-cli-sdk.
Install
Currently VESSL CLI/SDK is available through PyPI only.
pip install vessl
VESSL CLI
VESSL Command Line Interface is a convenient tool to access VESSL resources from your terminals.
Refer to VESSL CLI Docs for details.
Configure VESSL CLI
First, configure VESSL CLI with your account and set default organization / project.
> vessl configure
Please grant CLI access from the URL below.
https://vessl.ai/cli/grant-access?token=abcdxyz
Waiting...
[?] Default project: ...
Welcome, VESSL!
Check configuration
Below command will display current configuration for VESSL CLI.
> vessl whoami
Username: VESSL
Email: vessl@vessl.ai
Default organization: my-default-organization
Default project: my-default-project
VESSL SDK
VESSL Software Development Kit is a python library that allows easy access to VESSL resources in your python programs and scripts.
Refer to VESSL SDK Docs for details.
import vessl
vessl.init(organization_name="my-organization")
vessl.create_experiment(...)
Keras
import vessl
from vessl.integration.keras import ExperimentCallback
vessl.init()
model = Model()
model.compile(...)
model.fit(x, y, epochs=5, callbacks=[ExperimentCallback()])
- Run experiment on VESSL using Web UI or SDK
Misc.
For M1
docker context create remote --docker "host=ssh://ec2-user@10.110.3.24"
docker context use remote
docker build . -t vessl-python-sdk
docker run vessl-python-sdk