Skip to content

Commit ef14172

Browse files
update version
2 parents 9e56991 + 649e031 commit ef14172

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

biotransformers/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.1.15"
1+
VERSION = "0.1.16"

biotransformers/wrappers/transformers_wrappers.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import numpy as np
1414
import ray
1515
import torch
16-
import torch.tensor
1716
from biotransformers.utils.compute_utils import Mutation, get_list_probs, mutation_score
1817
from biotransformers.utils.constant import NATURAL_AAS_LIST
1918
from biotransformers.utils.logger import logger # noqa
@@ -242,7 +241,7 @@ def _gather_masked_outputs(
242241
return torch.stack(sequences_list)
243242

244243
def _model_evaluation(
245-
self, model_inputs: Dict[str, torch.tensor], batch_size: int = 1, **kwargs
244+
self, model_inputs: Dict[str, torch.Tensor], batch_size: int = 1, **kwargs
246245
) -> Tuple[torch.Tensor, torch.Tensor]:
247246
"""Compute logits and embeddings
248247

0 commit comments

Comments
 (0)