Socket
Book a DemoInstallSign in
Socket

gradient

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gradient

Paperspace Python

2.0.6
pipPyPI
Maintainers
2

⚠️ DEPRECATION NOTICE

gradient-cli v2 is deprecated. v3 of this project will host the DigitalOcean Gradient SDK. Development for the new version will be in https://github.com/digitalocean/gradient-python.

Users are advised to pin to v2 of this library to avoid breaking changes.

Note We are rolling out a new streamlined Paperspace CLI and recommend using this new CLI for all new projects.

GitHubSplash

Gradient CLI

PyPI Downloads


Get started: Create AccountInstall CLITutorialsDocs

Resources: WebsiteBlogSupportContact Sales


Gradient is an an end-to-end MLOps platform that enables individuals and organizations to quickly develop, train, and deploy Deep Learning models. The Gradient software stack runs on any infrastructure e.g. AWS, GCP, on-premise and low-cost Paperspace GPUs. Leverage automatic versioning, distributed training, built-in graphs & metrics, hyperparameter search, GradientCI, 1-click Jupyter Notebooks, our Python SDK, and more.

Key components:

  • Notebooks: 1-click Jupyter Notebooks.
  • Inference: Deploy models as API endpoints.

Gradient supports any ML/DL framework (TensorFlow, PyTorch, XGBoost, etc).

See releasenotes.md for details on the current release, as well as release history.


Getting Started

⚠️ IMPORTANT: This library is deprecated. Pin to v2 to avoid breaking changes: pip install "gradient<3.0"

  • Make sure you have a Paperspace account set up. Go to http://paperspace.com to register and generate an API key.

  • Use pip, pipenv, or conda to install the gradient package, e.g.:

    pip install "gradient<3.0" # Pin to v2 to avoid breaking changes

    To install/update prerelease (Alpha/Beta) version version of gradient v2, use:

    pip install -U --pre "gradient<3.0"

  • Set your api key by executing the following:

    gradient apiKey <your-api-key-here>

    Note: your api key is cached in ~/.paperspace/config.json

    You can remove your cached api key by executing:

    gradient logout

Executing tasks on Gradient

The Gradient CLI follows a standard [command] [--options] syntax

For example, to create a new Workflow in a project use:

gradient projects list
gradient workflows create --name <name> --projectId <project-id>

For a full list of available commands run gradient workflows --help. You can also view more info about Workflows in the docs.

Contributing

Want to contribute? Contact us at hello@paperspace.com

Pre-Release Testing

Have a Paperspace QA tester install your change directly from the branch to test it. They can do it with pip install git+https://github.com/Paperspace/gradient-cli.git@MYBRANCH.

Keywords

paperspace api development library

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.