Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezamshi committed May 4, 2024
1 parent f073c74 commit 6f5d695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mergoo/composers/composer_moe.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _load_base_model(self, model_id):
mps = torch.backends.mps.is_available()
except:
mps = False
config = AutoConfig.from_pretrained(model_id,trust_remote_code=True)
config = AutoConfig.from_pretrained(model_id, trust_remote_code=True)
if config.model_type == "bert":
model = self.model_cls.from_pretrained(
model_id, torch_dtype=self.torch_dtype, trust_remote_code=True
Expand Down

0 comments on commit 6f5d695

Please sign in to comment.