Table of Contents

Class MemoryEstimate

Namespace
AiDotNet.Diffusion.Memory
Assembly
AiDotNet.dll

Memory usage estimate.

public class MemoryEstimate
Inheritance
MemoryEstimate
Inherited Members

Properties

PerDeviceMemory

Memory per device if sharded (bytes).

public long? PerDeviceMemory { get; set; }

Property Value

long?

SavingsPercent

Percentage memory savings from checkpointing.

public double SavingsPercent { get; set; }

Property Value

double

TotalShardedMemory

Total memory across all devices if sharded (bytes).

public long? TotalShardedMemory { get; set; }

Property Value

long?

WithCheckpointing

Estimated memory usage with checkpointing (bytes).

public long WithCheckpointing { get; set; }

Property Value

long

WithoutCheckpointing

Estimated memory usage without checkpointing (bytes).

public long WithoutCheckpointing { get; set; }

Property Value

long

Methods

ToString()

Gets a human-readable summary.

public override string ToString()

Returns

string