All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clarifai.grpc.api.ComputeInfoOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: proto/clarifai/api/resources.proto

package com.clarifai.grpc.api;

public interface ComputeInfoOrBuilder extends
    // @@protoc_insertion_point(interface_extends:clarifai.api.ComputeInfo)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Number of CPUs.
   * 
* * uint32 num_cpus = 1; * @return The numCpus. */ int getNumCpus(); /** *
   * Amount of CPU memory to use as a minimum.
   * 
* * string cpu_memory = 2; * @return The cpuMemory. */ java.lang.String getCpuMemory(); /** *
   * Amount of CPU memory to use as a minimum.
   * 
* * string cpu_memory = 2; * @return The bytes for cpuMemory. */ com.google.protobuf.ByteString getCpuMemoryBytes(); /** *
   * Number of accelerators (typically GPUs, TPUs, etc. not CPUs) for this resource.
   * 
* * uint32 num_accelerators = 3; * @return The numAccelerators. */ int getNumAccelerators(); /** *
   * Amount of accelerator/GPU memory to use as a minimum.
   * This is defined per accelerator.
   * This follows the format used by kubernetes like 1Ki, 2Mi, 3Gi, 4Ti.
   * 
* * string accelerator_memory = 4; * @return The acceleratorMemory. */ java.lang.String getAcceleratorMemory(); /** *
   * Amount of accelerator/GPU memory to use as a minimum.
   * This is defined per accelerator.
   * This follows the format used by kubernetes like 1Ki, 2Mi, 3Gi, 4Ti.
   * 
* * string accelerator_memory = 4; * @return The bytes for acceleratorMemory. */ com.google.protobuf.ByteString getAcceleratorMemoryBytes(); /** *
   * Or should it be removed completely and use the nodepool accelerator type itself.
   * These are the supported accelerators that the model can run on.
   * 
* * repeated string accelerator_type = 5; * @return A list containing the acceleratorType. */ java.util.List getAcceleratorTypeList(); /** *
   * Or should it be removed completely and use the nodepool accelerator type itself.
   * These are the supported accelerators that the model can run on.
   * 
* * repeated string accelerator_type = 5; * @return The count of acceleratorType. */ int getAcceleratorTypeCount(); /** *
   * Or should it be removed completely and use the nodepool accelerator type itself.
   * These are the supported accelerators that the model can run on.
   * 
* * repeated string accelerator_type = 5; * @param index The index of the element to return. * @return The acceleratorType at the given index. */ java.lang.String getAcceleratorType(int index); /** *
   * Or should it be removed completely and use the nodepool accelerator type itself.
   * These are the supported accelerators that the model can run on.
   * 
* * repeated string accelerator_type = 5; * @param index The index of the value to return. * @return The bytes of the acceleratorType at the given index. */ com.google.protobuf.ByteString getAcceleratorTypeBytes(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy