Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update src/model_utils.py
Browse files- src/model_utils.py +1 -1
src/model_utils.py
CHANGED
@@ -97,7 +97,7 @@ def calculate_memory(model: torch.nn.Module, options: list):
|
|
97 |
"dtype": dtype,
|
98 |
"Largest Layer or Residual Group": dtype_largest_layer,
|
99 |
"Total Size": dtype_total_size,
|
100 |
-
"Training using Adam (
|
101 |
}
|
102 |
)
|
103 |
return data
|
|
|
97 |
"dtype": dtype,
|
98 |
"Largest Layer or Residual Group": dtype_largest_layer,
|
99 |
"Total Size": dtype_total_size,
|
100 |
+
"Training using Adam (Peak vRAM)": dtype_training_size,
|
101 |
}
|
102 |
)
|
103 |
return data
|