MemoryEstimate

Models & Types · AiDotNet.Diffusion.Memory

Memory usage estimate.

Constructors

Constructor Summary
MemoryEstimate()

Properties

Property Summary
double SavingsPercent { get; set; } Percentage memory savings from checkpointing.
long WithCheckpointing { get; set; } Estimated memory usage with checkpointing (bytes).
long WithoutCheckpointing { get; set; } Estimated memory usage without checkpointing (bytes).
long? PerDeviceMemory { get; set; } Memory per device if sharded (bytes).
long? TotalShardedMemory { get; set; } Total memory across all devices if sharded (bytes).

Methods

Method Summary
string ToString() Gets a human-readable summary.