Class InferenceCliOptions

java.lang.Object
jdistlib.inference.InferenceCliOptions

public final class InferenceCliOptions extends Object
Parses reusable compute switches for command-line applications embedding JDistlib.
  • Method Details

    • parse

      public static InferenceCliOptions parse(String[] arguments)
      Recognizes --compute, --nuts-offload, and --gpu-nuts; unrecognized arguments are retained for the host application.
    • computeBackend

      public Compute computeBackend()
    • nutsBackend

      public ComputeNuts nutsBackend()
    • remainingArguments

      public String[] remainingArguments()
    • applyTo

      Applies parsed compute switches without replacing other builder settings.