transformers icon indicating copy to clipboard operation
transformers copied to clipboard

add low_cpu_mem_usage option in run_clm.py example which will benefit…

Open sywangyi opened this issue 1 year ago • 2 comments

… LLM loading

add low_cpu_mem_usage option in run clm example, set the option True will help reduce peak memory and loading time in LLM finetune and inference.

sywangyi avatar Mar 21 '23 08:03 sywangyi

@sgugger please help review

sywangyi avatar Mar 21 '23 08:03 sywangyi

The documentation is not available anymore as the PR was closed or merged.