d3x Commands

d3x commands are used for managing the user workspace, apikeys, ray clusters, user apps and deployments. This page provides information about all of the d3x commands that are currently available, along with their functions, usage syntax and available options.

  • Usage

    d3x [OPTIONS] COMMAND [ARGS]...

  • Function

    Group for d3x commands.

  • Options

    Option

    Description

    -d, --debug

    Enable requests debugging.

    --profile TEXT

    Cluster profile.

    --help

    Shows help for this section.

  • Commands

    Command

    Description

    about

    Provides details about d3x CLI configuration such as Username, API Key, etc.

    apikey

    Set of commands to generate a new API key or to get the current API key

    apps

    Set of commands to control the user apps on DKubeX

    code

    Access the DKubeX VSCode application and connect to your DKubeX workspace

    fm

    Set of commands used for finetuning & RAG

    list

    List DKubeX workspaces

    llms

    Set of commands to list and/or deploy the LLMs registered with DKubeX

    login

    Login to your DKubeX workspace remotely

    mlflow

    Set of commands pertaining to MLFlow experiments & models

    models

    List and manage MLFlow models registry

    mount

    Mount an available S3 bucket in read-write model

    port-forward

    Forward port from any given DKubeX workspace to any specified remote system

    profile

    Group for profile commands

    ray

    Set of commands pertaining to Ray Dashboard and Cluster(s)

    reset

    Reset any given DKubeX workspace to default image

    scp

    Copy file(s)/directory from/to any given DKubeX workspace

    serve

    Set of commands pertaining to Ray Serve

    sky

    Set of commands pertaining to SkyPilot

    ssh

    SSH to any given DKubeX workspace

    ssh-copy-id

    Copy SSH public key to your DKubeX home

    start

    Start any given DKubeX workspace

    stop

    Stop any given DKubeX workspace

    top

    Show the workspace’s resource usage

    umount

    Unmount buckets that were previously mounted using the mount command

    version

    DKubeX version

    vnc

    VNC connection to any given DKubeX workspace

d3x about

  • Usage

    d3x about [OPTIONS]

  • Function

    Provides details about d3x CLI configuration such as Username, API Key, etc.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x apikey

  • Usage

    d3x apikey [OPTIONS] COMMAND [ARGS}...

  • Function

    Set of commands to generate a new API key or to get the current API key.

  • Options

    Option

    Description

    --help

    Shows help for this section

  • Commands

    Command

    Description

    generate

    Generate user API key

    get

    Get user API key

d3x apps

  • Usage

    d3x apps [OPTIONS] COMMAND [ARGS]...

  • Function

    Set of commands to control the user apps on DKubeX.

  • Options

    Option

    Description

    --help

    Shows help for this section

  • Commands

    Command

    Description

    create

    Deploy the user app on DKubeX

    delete

    Delete user app

    list

    List user apps

    open

    Open user app in browser

    • Usage

      d3x apps create [OPTIONS] IMAGE [COMMAND]...

    • Function

      Deploy the user app on DKubeX.

    • Options

      Option

      Description

      --help

      Shows help for this section.

      --name TEXT

      App name

      --cpu INTEGER

      Number of CPU cores needed for deployment

      --gpu INTEGER

      Number of GPU cores needed for deployment

      --memory INTEGER

      Amount of memory in GB needed for deployment

      --publish TEXT

      Publish app globally

      --dockerserver TEXT

      Docker registry url for ingress

      --dockeruser TEXT

      Docker registry username for ingress

      --dockerpsw TEXT

      Docker registry password for ingress

      -e TEXT

      Set environment variables

      -p TEXT

      Publish a container’s port(s)

      -d TEXT

      Description of the deployment

      -rt TEXT

      Rewrite-target for ingress

      -cs TEXT

      Configuration-snippet for ingress

      -ip TEXT

      Ingress prefix for ingress

d3x code

  • Usage

    d3x code [OPTIONS] WORKSPACE_NAME

  • Function

    Access the VSCode application and connect to your DKubeX workspace.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x fm

  • Usage

    d3x fm [OPTIONS] COMMAND [ARGS]...

  • Function

    Set of commands used for finetuning & RAG.

  • Options

    Option

    Description

    --help

    Shows help for this section

  • Commands

    Command

    Description

    delete

    Delete user app

    docs

    Run document processing job

    get

    Get fm job details

    jobs

    List fm jobs

    logs

    Show logs of given fm job

    query

    Run fm query job

    trainchunks

    Create Ray Training Chunks

    tune

    Run Document Processing Job

    • Usage

      d3x fm delete [OPTIONS] JOB_NAME

    • Function

      Delete job

    • Options

      Option

      Description

      --help

      Shows help for this section.

d3x list

  • Usage

    d3x list [OPTIONS]

  • Function

    List DKubeX workspaces.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x llms

  • Usage

    d3x llms [OPTIONS] COMMAND [ARGS]...

  • Function

    Set of commands to list and/or deploy the LLMs registered with DKubeX.

  • Options

    Option

    Description

    --help

    Shows help for this section

  • Commands

    Command

    Description

    deploy

    Deploy a LLM on DKubex

    list

    List the supported LLMs

    register

    Register a model with DKubeX

  • Usage

    d3x llms deploy [OPTIONS]

  • Function

    Deploy a LLM on DKubeX

  • Options

    Options

    Description

    -n, --name TEXT

    Name of the deployment (required)

    -m, --model TEXT

    Name of the model to deploy the serving (required)

    --help

    Shows help for this section

d3x login

  • Usage

    d3x login [OPTIONS]

  • Function

    Login to your DKubeX workspace remotely.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x mlflow

  • Usage

    d3x mlflow [OPTIONS] COMMAND [ARGS}...

  • Function

    Set of commands pertaining to MLFlow experiments & models.

  • Options

    Option

    Description

    --help

    Shows help for this section

  • Commands

    Command

    Description

    experiments

    Create, archive, delete or restore MLFlow experiments

    models

    Archive or delete MLFlow models

    • Usage

      d3x mlflow experiments [OPTIONS] COMMAND [ARGS]...

    • Function

      Create, archive, delete or restore MLFlow experiments.

    • Options

      Option

      Description

      --help

      Shows help for this section.

    • Commands

      Command

      Description

      archive

      Archive Experiment

      delete

      Delete Experiment

      list

      List experiments

      restore

      Restore Experiment

    • Usage

      d3x mlflow experiments archive [OPTIONS] ID

    • Function

      Archive experiment.

    • Options

      Option

      Description

      --help

      Shows help for this section.

d3x models

  • Usage

    d3x models [OPTIONS] COMMAND [ARGS}...

  • Function

    List and manage MLFlow models registry.

  • Options

    Option

    Description

    --help

    Shows help for this section

  • Commands

    Command

    Description

    import

    Import saved model to MLFlow

    list

    List models registered in MLFlow registry

    show

    Get details of a specific model

d3x mount

  • Usage

    d3x mount [OPTIONS] [BUCKET] [MOUNTPATH]

  • Function

    Command to mount an available S3 bucket in read-write model.

  • Options

    Option

    Description

    -a, --all

    mount all the previous buckets

    -d, --dry-run

    do not mount the buckets

    --help

    Shows help for this section

d3x port-forward

  • Usage

    d3x port-forward [OPTIONS] WORKSPACE_NAME SERVICE TARGET_PORT LOCAL_PORT

  • Function

    Forward port from any given DKubeX workspace to any specified remote system.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x profile

  • Usage

    d3x profile [OPTIONS] COMMAND [ARGS]...

  • Function

    Group for profile commands.

  • Options

    Option

    Description

    --help

    Shows help for this section

  • Commands

    Command

    Description

    configure

    Configure profile

    delete

    Delete profile

    list

    List profiles

    set

    Set default profile

d3x ray

  • Usage

    d3x ray [OPTIONS] COMMAND [ARGS]...

  • Function

    Set of commands pertaining to Ray Dashboard and Cluster(s).

  • Options

    Option

    Description

    --help

    Shows help for this section

  • Commands

    Command

    Description

    activate

    Set Cluster

    address

    List Ray clusters

    create

    Create Dev Ray cluster

    dashboard

    Open Ray dashboard

    delete

    Delete Dev Ray cluster

    get

    Get a Ray cluster

    job

    Group commands for ray jobs

    list

    List ray clusters

    • Usage

      d3x ray activate [OPTIONS] CLUSTER

    • Function

      Set Cluster.

    • Options

      Option

      Description

      --help

      Shows help for this section.

d3x reset

  • Usage

    d3x reset [OPTIONS] WORKSPACE_NAME

  • Function

    Reset any given DKubeX workspace to default image

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x scp

  • Usage

    d3x scp [OPTIONS] SOURCE TARGET

  • Function

    Copy file(s)/directory from/to any given DKubeX workspace.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x serve

  • Usage

    d3x serve [OPTIONS] COMMAND [ARGS]...

  • Function

    Set of commands pertaining to Ray Serve

  • Options

    Option

    Description

    --help

    Shows help for this section

  • Commands

    Command

    Description

    create

    Create Ray serve

    delete

    Delete deployment

    get

    Get deployments

    list

    List deployments

    • Usage

      d3x serve create [OPTIONS]

    • Function

      Set of commands pertaining to Ray Serve.

    • Options

      Option

      Description

      --help

      Shows help for this section.

      -n, --name TEXT

      Name of the Ray serve (Required)

      -r, --registry_type [hugging_face|mlflow]

      Registry type (Required)

      --hface_repoid TEXT

      Hugging Face Repo ID

      --hface_tokenizer TEXT

      Hugging Face tokenizer

      --hface_classifier TEXT

      Hugging Face classifier

      --hface_token TEXT

      Hugging Face token

      --model TEXT

      MLFlow model name

      --model_version TEXT

      MLFlow model version

      --depfilepath TEXT

      Ray serve deployment file path

      --working_dir TEXT

      Local serving directory path

      --is_private_repo

      Private repo

      --repo_name TEXT

      GitHub repo name

      --username TEXT

      GitHub username of the repo owner

      --access_token TEXT

      Github access token of the user

      --branch_name TEXT

      GitHub branch name

      --commit_id TEXT

      GitHub Commit ID

      --unprotected

      Serving without token

      -e, --env TEXT

      Environment variable

      --ngpus TEXT

      Number of GPUs

      --min_cpu TEXT

      Minimum number of CPUs for cluster creation.

      --max_cpu TEXT

      Maximum number of CPUs for cluster creation

      --min_memory TEXT

      Minimum memory for cluster creation

      --max_memory TEXT

      Maximum memory for cluster creation.

      --min_replicas TEXT

      Minimum deployment replicas.

      --max_replicas TEXT

      Maximum deployment replicas.

      --max_concurrent_requests TEXT

      Maximum concurrent requests.

      --description TEXT

      Deployment description

      --image TEXT

      Cluster Image

      --no_rsrc_limits

      No resource limits

      --node_selector TEXT

      Node selector

      --timeout INTEGER

      Deployment timeout

d3x sky

  • Usage

    sky [OPTIONS] COMMAND [ARGS]...

  • Function

    Set of commands pertaining to SkyPilot.

  • Options

    Options

    Description

    --install-shell-completion [bash|zsh|fish|auto]

    Install shell completion for the specified shell.

    --uninstall-shell-completion [bash|zsh|fish|auto]

    Uninstall shell completion for the specified shell.

    -v, --version

    Show sky version.

    -h, --help

    Shows help for this section

  • Commands

    Commands

    Description

    launch

    Launch a task from a YAML or a command (rerun setup if…

    exec

    Execute a task or a command on a cluster (skip setup).

    status

    Show clusters.

    cost-report

    Show estimated costs for launched clusters.

    queue

    Show the job queue for cluster(s).

    logs

    Tail the log of a job.

    cancel

    Cancel job(s).

    stop

    Stop cluster(s).

    autostop

    Schedule an autostop or autodown for cluster(s).

    start

    Restart cluster(s).

    down

    Tear down cluster(s).

    gpunode

    Launch or attach to an interactive GPU node.

    cpunode

    Launch or attach to an interactive CPU node.

    tpunode

    Launch or attach to an interactive TPU node.

    check

    Check which clouds are available to use.

    show-gpus

    Show supported GPU/TPU/accelerators and their prices.

    storage

    SkyPilot Storage CLI.

    admin

    SkyPilot On-prem administrator CLI.

    spot

    Managed Spot commands (spot instances with auto-recovery).

    bench

    SkyPilot Benchmark CLI.

d3x ssh

  • Usage

    d3x ssh [OPTIONS] WORKSPACE_NAME [COMMAND]...

  • Function

    SSH to any given DKubeX workspace.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x ssh-copy-id

  • Usage

    d3x ssh-copy-id [OPTIONS] PUBLIC_KEY

  • Function

    Copy SSH public key to your DKubeX home.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x start

  • Usage

    d3x start [OPTIONS] WORKSPACE_NAME

  • Function

    Start any given DKubeX workspace.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x stop

  • Usage

    d3x stop [OPTIONS] WORKSPACE_NAME

  • Function

    Stop any given DKubeX workspace.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x top

  • Usage

    d3x top [OPTIONS] [WORKSPACE]

  • Function

    Show the workspace’s resource usage.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x umount

  • Usage

    d3x umount [OPTIONS] MOUNTPATH

  • Function

    Unmount buckets that were previously mounted using the mount command.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x version

  • Usage

    d3x version [OPTIONS]

  • Function

    DKubeX version.

  • Options

    Option

    Description

    --help

    Shows help for this section

d3x vnc

  • Usage

    d3x vnc [OPTIONS] WORKSPACE_NAME

  • Function

    VNC connection to any given DKubeX workspace.

  • Options

    Option

    Description

    --help

    Shows help for this section