kernel-elastic-autoencoder 3.1.2__tar.gz → 3.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kernel_elastic_autoencoder
3
- Version: 3.1.2
3
+ Version: 3.1.3
4
4
  Summary: Implementation of Kernel-Elastic Autoencoder for Molecular Design (https://doi.org/10.1093/pnasnexus/pgae168)
5
5
  License: MIT
6
6
  Author: Felix Rotter-McCartney
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "kernel_elastic_autoencoder"
3
- version = "3.1.2"
3
+ version = "3.1.3"
4
4
  description = "Implementation of Kernel-Elastic Autoencoder for Molecular Design (https://doi.org/10.1093/pnasnexus/pgae168)"
5
5
  authors = [
6
6
  { name = "Felix Rotter-McCartney", email = "felix.rotter@mail.utoronto.ca" }
@@ -45,4 +45,5 @@ dev = [
45
45
  "pytest-xdist (>=3.8.0,<4.0.0)",
46
46
  "python-semantic-release (>=10.6.1,<11.0.0)",
47
47
  "pdoc (>=16.0.0,<17.0.0)",
48
+ "gitpython (>=3.1.0, <3.1.60)",
48
49
  ]
@@ -205,7 +205,7 @@ class Decoder(nn.Module):
205
205
  self.out_linear = nn.Linear(embedding_dim, vocab_size)
206
206
 
207
207
  self.register_buffer(
208
- "causal_mask", nn.Transformer.generate_square_subsequent_mask(max_len - 1)
208
+ "causal_mask", nn.Transformer.generate_square_subsequent_mask(max_len - 1).to(torch.bool)
209
209
  )
210
210
 
211
211
  def forward(