There was an error while loading. Please reload this page.
1 parent 7e823e4 commit 729b94aCopy full SHA for 729b94a
1 file changed
src/wyckoff_transformer/trainer.py
@@ -422,6 +422,7 @@ def from_config(cls, config_dict: dict|DictConfig,
422
distribution = cls.load_start_token_distribution_file(distribution_path)
423
max_sequence_length = int(distribution["max_sequence_length"])
424
model = CascadeTransformer.from_config_and_tokenisers(config, tokenisers, device)
425
+ # model.to(torch.float32)
426
# Our hihgly dynamic concat-heavy workflow doesn't benefit much from compilation
427
# torch._dynamo.config.cache_size_limit = 128
428
# model = torch.compile(model, dynamic=True)
0 commit comments