Skip to content

Commit 729b94a

Browse files
committed
model 32/64
1 parent 7e823e4 commit 729b94a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wyckoff_transformer/trainer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ def from_config(cls, config_dict: dict|DictConfig,
422422
distribution = cls.load_start_token_distribution_file(distribution_path)
423423
max_sequence_length = int(distribution["max_sequence_length"])
424424
model = CascadeTransformer.from_config_and_tokenisers(config, tokenisers, device)
425+
# model.to(torch.float32)
425426
# Our hihgly dynamic concat-heavy workflow doesn't benefit much from compilation
426427
# torch._dynamo.config.cache_size_limit = 128
427428
# model = torch.compile(model, dynamic=True)

0 commit comments

Comments
 (0)