Skip to main content

SDK and CLI for VESSL

Project description

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

  • Use ExperimentCallback
import vessl
from vessl.integration.keras import ExperimentCallback

vessl.init()

# Keras training code
model = Model()
model.compile(...)

# Add integration
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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vessl-0.1.183.tar.gz (700.5 kB view hashes)

Uploaded Source

Built Distribution

vessl-0.1.183-py3-none-any.whl (2.0 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page