Snakepit.Error.OutOfMemory exception (Snakepit v0.8.7)
View SourceOut of memory error for GPU operations.
Contains information about the requested allocation, available memory, and suggestions for recovery.
Summary
Types
@type device() :: :cpu | :mps | {:cuda, non_neg_integer()} | {:rocm, non_neg_integer()}
@type t() :: %Snakepit.Error.OutOfMemory{ __exception__: true, available_bytes: non_neg_integer(), device: device(), message: String.t(), operation: String.t() | nil, requested_bytes: non_neg_integer(), suggestions: [String.t()] }