fix: add model_id to IdeficsCausalLM

This commit is contained in:
drbh 2024-06-07 04:36:32 +00:00
parent 101b95adc4
commit ce40ad26fd
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ class IDEFICSSharded(IdeficsCausalLM):
torch.distributed.barrier(group=self.process_group)
super(IdeficsCausalLM, self).__init__(
model_id=model_id,
model=model,
tokenizer=tokenizer,
requires_padding=True,