full weights fsdp training seems broken with fsdp_cpu_ram_efficient_loading, disabling for now (#1726)
This commit is contained in:
@@ -569,9 +569,11 @@ def load_model(
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
skip_move_to_device = False
|
skip_move_to_device = False
|
||||||
if (
|
if ( # pylint: disable=condition-evals-to-constant)
|
||||||
cfg.fsdp and cfg.fsdp_config.fsdp_cpu_ram_efficient_loading
|
(cfg.fsdp and cfg.fsdp_config.fsdp_cpu_ram_efficient_loading)
|
||||||
) and not qlora_fsdp:
|
and not qlora_fsdp
|
||||||
|
and False
|
||||||
|
):
|
||||||
model = load_sharded_model(
|
model = load_sharded_model(
|
||||||
base_model,
|
base_model,
|
||||||
model_config,
|
model_config,
|
||||||
|
|||||||
Reference in New Issue
Block a user