Skip to main content

cli

Project description

ANC CLI Tool

Overview

The ANC CLI tool is a comprehensive command line interface designed to facilitate the management of various resources within the company. Initially, it supports managing datasets and their versions, enabling users to interact seamlessly with a remote server for fetching, listing, and adding datasets.

Installation

# Instructions for installing the ANC CLI tool
sudo pip install anc

Dataset

  • Fetch Datasets: Retrieve specific versions of datasets from a remote server.
  • List Versions: View all available versions of a dataset.
  • Add Datasets: Upload new datasets along with their versions and descriptions to the remote server.

Usage

list

anc ds list 
# Or you can specify a dataset name.
anc ds list -n <dataset name>

get

# According to the above list result, you can download the specific version dataset.
# Ensure that the destination path for downloads is a permanent storage location(e.g. /mnt/weka/xxx). Currently, downloading data to local storage is not permitted.
anc ds get cifar-10-batches-py -v 1.0

add

# Upload a specific version of a dataset. The dataset name will be determined based on the file or folder name extracted from the specified path.
# Ensure that the dataset is stored in a permanent location recognized by the server (e.g., /mnt/weka/xxx).
anc ds add /mnt/weka/xug/dvc_temp/cifar-10-batches-py -v 1.0

load-test

Usage

load testing with random data

# start vllm server (this step will be done inside cli tool in future)
python -m vllm.entrypoints.openai.api_server --model=facebook/opt-125m

# load testing running
anc loadtest --backend vllm --model facebook/opt-125m --dataset-name random --profile --num-prompts 2

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

anc-0.1.12.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anc-0.1.12-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

Details for the file anc-0.1.12.tar.gz.

File metadata

  • Download URL: anc-0.1.12.tar.gz
  • Upload date:
  • Size: 36.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.12 Linux/5.15.0-130-generic

File hashes

Hashes for anc-0.1.12.tar.gz
Algorithm Hash digest
SHA256 e1e6c2bb2b1945f4ad2c7f619d7f439562c5736f7fc7bae52ff8fec359f5b9ee
MD5 63f254fa28a22634639983f8b7231390
BLAKE2b-256 af227a0dca8b6fe4f324712f08da68705ce03c45e0fdbe899327492d86b863e2

See more details on using hashes here.

File details

Details for the file anc-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: anc-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.12 Linux/5.15.0-130-generic

File hashes

Hashes for anc-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 a651e94b7824d5d2fa915b9f1650b4e068dd79d48a3186a490a730655b11b54c
MD5 3e7c77035e91b4291d3ead625fef46d9
BLAKE2b-256 98363cf8976e093a306f5363943db13086304bd06cc5df0c80bb6b27c05ffeb7

See more details on using hashes here.

Supported by

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