Charlie81 commited on
Commit
e039ec3
·
1 Parent(s): 78b85e8

ignore mismatches

Browse files
Files changed (1) hide show
  1. scripts/train.py +2 -1
scripts/train.py CHANGED
@@ -24,7 +24,8 @@ def main():
24
  "myolmoe",
25
  config=config,
26
  torch_dtype=torch.bfloat16,
27
- device_map="auto"
 
28
  )
29
 
30
  # Load tokenizer
 
24
  "myolmoe",
25
  config=config,
26
  torch_dtype=torch.bfloat16,
27
+ device_map="auto",
28
+ ignore_mismatched_sizes=True
29
  )
30
 
31
  # Load tokenizer