Skip to content

Commit 3300510

Browse files
CodemodService CodemodConfigDisabledTestsfacebook-github-bot
authored andcommitted
fbcode/aitemplate/AITemplate/examples/03_bert
Reviewed By: hl475 Differential Revision: D80779735
1 parent b636955 commit 3300510

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

examples/03_bert/test_correctness.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,6 @@ class BertBaseUncasedTest(unittest.TestCase):
3232
def setUpClass(cls) -> None:
3333
torch.manual_seed(0)
3434

35-
def test_bert_base_uncased(self):
36-
model_path = "bert-base-uncased"
37-
if ManifoldClient is not None:
38-
model_path = "/tmp/aitemplate_bert/bert-base-uncased"
39-
os.makedirs(model_path, exist_ok=True)
40-
with ManifoldClient.get_client(bucket="glow_test_data") as client:
41-
await_sync(
42-
client.getRecursive(
43-
manifold_path="tree/aitemplate/bert/bert-base-uncased",
44-
local_path=model_path,
45-
)
46-
)
47-
run_model(
48-
prompt="The quick brown fox jumps over the lazy dog.",
49-
activation="fast_gelu",
50-
graph_mode=True,
51-
use_fp16_acc=True,
52-
verify=True,
53-
model_path=model_path,
54-
)
55-
5635

5736
if __name__ == "__main__":
5837
unittest.main()

0 commit comments

Comments
 (0)