Fix passing str dtype to static cache (#33741)

Co-authored-by: Guang Yang <guangyang@fb.com>
This commit is contained in:
Guang Yang
2024-10-01 00:50:17 -07:00
committed by GitHub
parent c269c5c74d
commit 808997a634
2 changed files with 2 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ class CacheTest(unittest.TestCase):
set_seed(0)
device = "cpu"
dtype = torch.float32
dtype = "bfloat16"
cache_implementation = "static"
attn_implementation = "sdpa" # Export and ExecuTorch only works for SdpaAttention
batch_size = 1