Skip to content

Commit

Permalink
#3647: Add fix for test for polyval coeffs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
JelenaTosicJtosic authored and muthutt committed Nov 21, 2023
1 parent 64d742f commit 1062044
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ def gen_polyval_args(
):
if input_info is not None:
num_coeffs = torch.tensor(1, dtype=torch.int).random_(1, max_num_coeffs + 1).item()
coeffs = torch.Tensor(num_coeffs).uniform_(low, high).tolist()
coeffs = torch.Tensor(num_coeffs).uniform_(low, high).to(torch.bfloat16).tolist()
input_info.update({"coeffs": coeffs})
yield input_info

Expand Down

0 comments on commit 1062044

Please sign in to comment.