Skip to content

Commit

Permalink
refactor: add vae footprint
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <[email protected]>
  • Loading branch information
thxCode committed Jan 14, 2025
1 parent 229f32d commit c626bea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions file_estimate__stablediffusioncpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,9 @@ func (gf *GGUFFile) EstimateStableDiffusionCppRun(opts ...GGUFRunEstimateOption)

// Decode usage.
if aeLs != nil && !*o.SDCFreeComputeMemoryImmediately {
// Bootstrap.
e.Autoencoder.Devices[aeDevIdx].Footprint += GGUFBytesScalar(100 * 1024 * 1024) /*100 MiB*/

var convDim uint64
{
m, _ := aeLs.Index([]string{
Expand Down

0 comments on commit c626bea

Please sign in to comment.