Skip to content

outpostHQ/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8a42bc1 · Jun 10, 2024
Feb 26, 2024
Jun 10, 2024
Feb 14, 2024
Feb 2, 2024
Jun 9, 2024
Feb 2, 2024
Feb 14, 2024
Aug 7, 2023
Apr 20, 2024
May 21, 2024
Jun 10, 2024
Feb 2, 2024
May 21, 2024
Jun 9, 2024
May 21, 2024
Jun 9, 2024
Jun 9, 2024

Repository files navigation

Outpost CLI

This is a Outpost CLI for Outpost. It lets you run models from your terminal, and do various other things on Outpost.

Requirements

  • Python 3.8+

Getting Started

Install the library with

pip install outpostcli

outpostcli login [-t api_token]

Get Current User

outpostcli user [-t api_token]

Inference Endpoints

List Inferences

outpostcli inferences list [-e entity] [-t api_token]

Get Inference

outpostcli inference get <inf_name> [-e entity] [-t api_token] 
#TODO: outpostcli inference <inf_name> get ...

Examples

outpostcli user
outpostcli inferences create hf:lxyuan/distilbert-base-multilingual-cased-sentiments-student -i CPU-sm -n cli-text-classification 

Outpost Hub

Upload files for models or datasets faster from Outpost Hub using multipart.

outpostcli lfs enable-largefiles .