LogoLogo
HomeCommunity
EN master
EN master
  • Introduction
  • Components
  • Quickstart
    • Using Docker
    • Using Java SDK
    • Using Python SDK
    • Using CLI
  • Building from source
  • Installing Binaries
  • Configurations
    • JSON
    • YAML
  • GitHub
  • Examples
    • Java
      • Server
        • Pipeline Steps
          • Image To NDArray Step
          • Python Step
          • DL4J Step
          • Keras Step
          • ONNX Step
          • Tensorflow Step
        • Sequence Pipeline
        • Graph Pipeline
      • Client
        • Running Predictions
        • Inspecting a Server
    • Python
      • Server
        • Pipeline Steps
          • Image To NDArray Step
          • Python Step
          • DL4J Step
        • Sequence Pipeline
        • Graph Pipeline
      • Client
        • Running Predictions
        • Inspecting a Server
    • IPython Notebook
      • Basic
      • ONNX
        • Pytorch (IRIS)
        • Pytorch (MNIST)
      • Keras
      • Tensorflow
      • DL4J
    • CLI
      • Use-Cases
        • Creating a Sequence Pipeline
        • Creating a Graph Pipeline
        • Create Server URL with Inspection Queries
        • Adding Extra Classpaths
        • Multiple Instances of a Server
      • Commands
        • Serve Command
        • Logs Command
        • Inspect Command
        • Profile Command
  • How-To Guides
    • Serving a BMI Model
      • With HTML Content
    • Performing Object Detection
    • RPA Use-Case
    • Showing Metrics
      • Prometheus
      • Grafana
  • References
    • Pipeline Steps
      • IMAGE_TO_NDARRAY
      • IMAGE_CROP
      • IMAGE_RESIZE
      • DEEPLEARNINGL4J
      • KERAS
      • ND4JTENSORFLOW
      • ONNX
      • TENSORFLOW
      • SAMEDIFF
      • CLASSIFIER_OUTPUT
      • REGRESSION_OUTPUT
      • LOGGING
      • BOUNDING_BOX_FILTER
      • BOUNDING_BOX_TO_POINT
      • CROP_GRID
      • CROP_FIXED_GRID
      • DRAW_BOUNDING_BOX
      • DRAW_FACE_KEY_POINT
      • DRAW_GRID
      • DRAW_FIXED_GRID
      • DRAW_HEATMAP
      • DRAW_POINTS
      • DRAW_SEGMENTATION
      • EXTRACT_BOUNDING_BOX
      • SSD_TO_BBOX
      • YOLO_BBOX
      • RELATIVE_TO_ABSOLUTE
      • SHOW_IMAGE
      • FRAME_CAPTURE
      • VIDEO_CAPTURE
      • PERSPECTIVE_TRANSFORM
    • Inference Configuration
      • MQTT Configuration
      • KAFKA Configuration
    • CLI Commands
      • Serve Command
      • Logs Command
      • Inspect Command
      • Pythonpaths Command
      • Build Command
      • Config Command
      • Predict Command
      • Profile Command
  • Change Logs
    • Version 0.1.0
  • Contribution Guidelines
Powered by GitBook
On this page

Was this helpful?

  1. References
  2. CLI Commands

Build Command

$ konduit build [-ad <value>] [-a <value>] [-c <value>]  [-dt <value>] [-d
       <value>] [-m <value>] [-o <value>] [-p <value>] [-s <value>]

OPTIONS

Command Flags

Description

-ad,--addDep

Additional dependencies to include, in GAV(C) format: "group_id:artifact_id:version" / "group_id:artifact_id:version:classifier".

-a,--arch

The target CPU architecture. Must be one of {x86, x86_avx2, x86_avx512, armhf, arm64, ppc64le}. Note that most modern desktops can be built with x86_avx2, which is the default.

-c,--config

Configuration for the deployment types specified via -dt/--deploymentType.

For example, "-c jar.outputdir=/some/dir jar.name=my.jar" etc.

Configuration keys:

JAR deployment config keys: jar.outputdir, jar.name,jar.groupid, jar.artifactid, jar.version

ClassPathDeployment config keys: classpath.outputFile, classpath.type

-dt,--deploymentType

The deployment types to use: JAR, DOCKER, EXE, WAR, RPM, DEB or TAR (case insensitive).

-d,--device

Compute device to be used. If not set: artifacts are build for CPU only. Valid values: CPU, CUDA_10.0, CUDA_10.1, CUDA_10.2 (case insensitive).

-m,--modules

Names of the Konduit-Serving modules to include, as a comma-separated list of values. Note that this is not necessary when a pipeline is included (via -p/--pipeline), as the modules will be inferred automatically based on the pipeline contents.

-o,--os

Operating systems to build for. Valid values: {linux, windows, mac} (case insensitive). If not set, the current system OS will be used.

-p,--pipeline

Path to a pipeline JSON file.

-s,--serverType

Type of server - HTTP or GRPC (case insensitive).

PreviousPythonpaths CommandNextConfig Command

Last updated 4 years ago

Was this helpful?