star-vector icon indicating copy to clipboard operation
star-vector copied to clipboard

Accelerate launch command fails to run

Open hjzhang-forward opened this issue 9 months ago • 2 comments

The following command fails to execute: accelerate launch --config_file configs/accelerate/deepspeed-8-gpu.yaml starvector/train/train.py config=configs/models/starvector-1b/im2svg-stack.yaml

Error: train.py

  loss = model(batch)

starvector_arch.py def forward(self, vision_embeds, input_ids, num_generations, attention_mask, num_logits_to_keep)

Here, batch has no input_ids, num_generations, attention_mask, num_logits_to_keep

hjzhang-forward avatar Mar 31 '25 11:03 hjzhang-forward

Have you solved this problem? I also encountered the same problem.

Yukinonooo avatar Jun 02 '25 08:06 Yukinonooo

same! Have you solved this problem?

Eric-zhang-1111 avatar Jul 16 '25 18:07 Eric-zhang-1111