Skip to content

Commit 95e9a1b

Browse files
authored
Merge pull request #2017 from gs-olive/bert_ci_fix
fix: Repair input range on BERT inputs for CI
2 parents be038ef + 7bf411f commit 95e9a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/py/models/test_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_efficientnet_b0(self):
8686

8787
def test_bert_base_uncased(self):
8888
self.model = cm.BertModule().cuda()
89-
self.input = torch.randint(0, 5, (1, 14), dtype=torch.int32).to("cuda")
89+
self.input = torch.randint(0, 2, (1, 14), dtype=torch.int32).to("cuda")
9090

9191
compile_spec = {
9292
"inputs": [

0 commit comments

Comments
 (0)