training::memory¶
Functions¶
| Name | |
|---|---|
| float | get_available_ram_gb() |
| float | estimate_model_memory_gb(float num_params_b, int batch_size =4, bool use_qlora =True) |
| Optional[str] | check_memory(float num_params_b, int batch_size =4, bool use_qlora =True) |
Detailed Description¶
Pre-flight memory estimator for Apple Silicon training.```
## Functions Documentation
### function get_available_ram_gb
```python
float get_available_ram_gb()
function estimate_model_memory_gb¶
function check_memory¶
Updated on 2026-07-25 at 22:56:57 +0000