Vllm.Platforms.PlatformEnum (VLLM v0.3.0)

Copy Markdown View Source

Enum members for PlatformEnum.

Members:

  • CUDA = 1
  • ROCM = 2
  • TPU = 3
  • XPU = 4
  • CPU = 5
  • OOT = 6
  • UNSPECIFIED = 7

Summary

Types

t()

@opaque t()

Functions

cpu(ref)

@spec cpu(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}

cuda(ref)

@spec cuda(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}

name(ref)

@spec name(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}

new(opts \\ [])

@spec new(keyword()) :: {:ok, SnakeBridge.Ref.t()} | {:error, Snakepit.Error.t()}

Constructs PlatformEnum.

oot(ref)

@spec oot(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}

rocm(ref)

@spec rocm(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}

tpu(ref)

@spec tpu(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}

unspecified(ref)

@spec unspecified(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}

value(ref)

@spec value(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}

xpu(ref)

@spec xpu(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}