@@ -1308,44 +1308,44 @@ def sample_inputs_scaled_dot_product_flash_attention(
1308
1308
opinfo_core .OpInfo (
1309
1309
"ops.aten.randint" ,
1310
1310
aten_name = "randint" ,
1311
- dtypes = common_dtype .floating_types_and ( torch . bfloat16 ),
1311
+ dtypes = common_dtype .integral_types ( ),
1312
1312
sample_inputs_func = sample_inputs_randint ,
1313
1313
supports_out = False ,
1314
1314
),
1315
1315
opinfo_core .OpInfo (
1316
1316
"ops.aten.randint.low" ,
1317
1317
aten_name = "randint.low" ,
1318
- dtypes = common_dtype .floating_types_and ( torch . bfloat16 ),
1318
+ dtypes = common_dtype .integral_types ( ),
1319
1319
sample_inputs_func = sample_inputs_randint_low ,
1320
1320
supports_out = False ,
1321
1321
),
1322
1322
opinfo_core .OpInfo (
1323
1323
"ops.aten.randint_like" ,
1324
1324
aten_name = "randint_like" ,
1325
- dtypes = common_dtype .floating_types_and ( torch . bfloat16 ),
1325
+ dtypes = common_dtype .integral_types ( ),
1326
1326
sample_inputs_func = sample_inputs_randint_like ,
1327
1327
supports_out = False ,
1328
1328
),
1329
1329
opinfo_core .OpInfo (
1330
1330
"ops.aten.randint_like__dtype" ,
1331
1331
op = torch .ops .aten .randint_like ,
1332
1332
aten_name = "randint_like" ,
1333
- dtypes = common_dtype .floating_types_and ( torch . bfloat16 ),
1333
+ dtypes = common_dtype .integral_types ( ),
1334
1334
sample_inputs_func = sample_inputs_randint_like_dtype ,
1335
1335
supports_out = False ,
1336
1336
),
1337
1337
opinfo_core .OpInfo (
1338
1338
"ops.aten.randint_like.low_dtype" ,
1339
1339
aten_name = "randint_like.low_dtype" ,
1340
- dtypes = common_dtype .floating_types_and ( torch . bfloat16 ),
1340
+ dtypes = common_dtype .integral_types ( ),
1341
1341
sample_inputs_func = sample_inputs_randint_like_low_dtype ,
1342
1342
supports_out = False ,
1343
1343
),
1344
1344
opinfo_core .OpInfo (
1345
1345
"ops.aten.randint_like.low_dtype__dtype" ,
1346
1346
op = torch .ops .aten .randint_like .low_dtype ,
1347
1347
aten_name = "randint_like.low_dtype" ,
1348
- dtypes = common_dtype .floating_types_and ( torch . bfloat16 ),
1348
+ dtypes = common_dtype .integral_types ( ),
1349
1349
sample_inputs_func = sample_inputs_randint_like_low_dtype_dtype ,
1350
1350
supports_out = False ,
1351
1351
),
0 commit comments