Skip to content

Repository files navigation

Cortex Training Client

Python SDK, command-line tools, runnable recipes, and documentation for Cortex Training through the Cortex Training SNOWAPI.

Start Here

Install

Requires Python 3.8 or later.

pip install git+https://github.com/Snowflake-AI-Research/cortex-training.git

For local development:

git clone https://github.com/Snowflake-AI-Research/cortex-training.git
cd cortex-training
pip install -e .

The package installs:

  • cortex-training, for submitting and managing jobs
  • cortex-training tui, for viewing job logs
  • cortex_training, the Python SDK

Verify the command entry points:

cortex-training --help
cortex-training tui --help

Usage

cortex-training list
cortex-training submit examples/api/training.json
cortex-training tui JOB_ID
from cortex_training import CortexTrainingClient, CortexTrainingEngine

Connection settings use CORTEX_TRAINING_* and SNOWFLAKE_* environment variables. Login state is stored under ~/.config/cortex-training/, and TUI cache state is stored under ~/.cache/cortex-training/, unless their existing override variables are used.

See the CLI reference for commands and configuration.

Repository Map

Path Purpose
docs/ Getting started material, concepts, guides, and reference
recipes/ End-to-end training, sampling, and evaluation workflows
examples/api/ Small JSON examples for individual API operations
examples/config/ Connection configuration templates
src/cortex_training/ Installable Python client
tests/ Client and CLI tests

The current onboarding work is tracked in docs/internal/onboarding-roadmap.md.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages