Fix(misc): address PYTORCH_CUDA_ALLOC_CONF deprecate (#3313)

* fix: leftover ministral docs changes

* fix: pytorch_cuda_alloc_conf deprecation

* fix: set old PYTORCH_CUDA_ALLOC_CONF env too

* handle 2.9 separately

---------

Co-authored-by: Wing Lian <wing@axolotl.ai>
This commit is contained in:
NanoCode012
2025-12-17 21:12:18 +07:00
committed by GitHub
parent 2a664dc8ad
commit a1d07f42e4
4 changed files with 16 additions and 9 deletions

View File

@@ -253,7 +253,6 @@
"source": [
"from axolotl.utils import set_pytorch_cuda_alloc_conf\n",
"\n",
"# Set \"PYTORCH_CUDA_ALLOC_CONF\" env to save memory\n",
"set_pytorch_cuda_alloc_conf()"
]
},