Skip to content

Commit 66cd2f6

Browse files
NeosZhangzsksmhq
andauthored
zq/add label for llm in device_configs (DeepLink-org#809)
* add label for llm in device_configs --------- Co-authored-by: zhousike <[email protected]>
1 parent 4c4e6c7 commit 66cd2f6

File tree

1 file changed

+34
-32
lines changed

1 file changed

+34
-32
lines changed

impl/ascend/device_configs.py

+34-32
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
from skip import Skip
44

55
device_configs = {
6+
# topk llm used
7+
# normal llm used
68
# temp for 910B
79
'join': dict(
810
name=['stack'],
@@ -481,7 +483,7 @@
481483
),
482484
),
483485

484-
'pow_tensor': dict(
486+
'pow_tensor': dict( # llm used
485487
name=['pow'],
486488
tensor_para=dict(
487489
args=[
@@ -493,7 +495,7 @@
493495
),
494496
),
495497

496-
'pow_tensor_only_0_1': dict(
498+
'pow_tensor_only_0_1': dict( # llm used
497499
name=['pow'],
498500
tensor_para=dict(
499501
args=[
@@ -505,7 +507,7 @@
505507
),
506508
),
507509

508-
'pow_diff_dtype': dict(
510+
'pow_diff_dtype': dict( # llm used
509511
name=['pow'],
510512
tensor_para=dict(
511513
args=[
@@ -517,7 +519,7 @@
517519
),
518520
),
519521

520-
'bmm': dict(
522+
'bmm': dict( # llm used
521523
name=['bmm'],
522524
atol=3e-2,
523525
rtol=3e-2,
@@ -535,13 +537,13 @@
535537
),
536538
),
537539

538-
'reduce_op': dict(
540+
'reduce_op': dict( # llm used
539541
name=['sum'],
540542
atol=1e-3,
541543
rtol=1e-3,
542544
),
543545

544-
'reduce_partial_op': dict(
546+
'reduce_partial_op': dict( # llm used
545547
atol=1e-3,
546548
rtol=1e-3,
547549
name=['sum'],
@@ -571,7 +573,7 @@
571573
),
572574
),
573575

574-
'nll_loss': dict(
576+
'nll_loss': dict( # llm used
575577
name=['nll_loss'],
576578
tensor_para=dict(
577579
args=[
@@ -584,7 +586,7 @@
584586
),
585587
),
586588

587-
'nll_loss_empty_tensor': dict(
589+
'nll_loss_empty_tensor': dict( # llm used
588590
name=['nll_loss'],
589591
tensor_para=dict(
590592
args=[
@@ -675,7 +677,7 @@
675677
rtol = 1e-1,
676678
),
677679

678-
'embedding': dict(
680+
'embedding': dict( # llm used
679681
name=["embedding"],
680682
tensor_para=dict(
681683
args=[
@@ -736,7 +738,7 @@
736738
),
737739
),
738740

739-
'split': dict(
741+
'split': dict( # llm used
740742
name=['split'],
741743
tensor_para=dict(
742744
args=[
@@ -1024,13 +1026,13 @@
10241026
),
10251027
),
10261028

1027-
'mm': dict(
1029+
'mm': dict( # llm used
10281030
name=['mm'],
10291031
atol=2e-2,
10301032
rtol=2e-2,
10311033
),
10321034

1033-
'mm_diff_dtype': dict(
1035+
'mm_diff_dtype': dict( # llm used
10341036
name=['mm'],
10351037
atol=2e-2,
10361038
rtol=2e-2,
@@ -1156,7 +1158,7 @@
11561158
),
11571159
),
11581160

1159-
'norm': dict(
1161+
'norm': dict( # llm used
11601162
name=['norm'],
11611163
tensor_para=dict(
11621164
args=[
@@ -1232,7 +1234,7 @@
12321234
),
12331235
),
12341236

1235-
'gather': dict(
1237+
'gather': dict( # llm used
12361238
name=['gather'],
12371239
tensor_para=dict(
12381240
args=[
@@ -1244,7 +1246,7 @@
12441246
),
12451247
),
12461248

1247-
'gather_0dim': dict(
1249+
'gather_0dim': dict( # llm used
12481250
name=['gather'],
12491251
tensor_para=dict(
12501252
args=[
@@ -1256,7 +1258,7 @@
12561258
),
12571259
),
12581260

1259-
'gather_not_float': dict(
1261+
'gather_not_float': dict( # llm used
12601262
name=['gather'],
12611263
tensor_para=dict(
12621264
args=[
@@ -1268,7 +1270,7 @@
12681270
),
12691271
),
12701272

1271-
'scatter': dict(
1273+
'scatter': dict( # llm used
12721274
name=['scatter'],
12731275
tensor_para=dict(
12741276
args=[
@@ -1280,7 +1282,7 @@
12801282
),
12811283
),
12821284

1283-
'scatter_scalar': dict(
1285+
'scatter_scalar': dict( # llm used
12841286
name=['scatter'],
12851287
para=dict(
12861288
# In this case, for float32 (but not float64), no matter what the value parameter is,
@@ -1291,7 +1293,7 @@
12911293
),
12921294
),
12931295

1294-
'index_put_acc_three_indices': dict(
1296+
'index_put_acc_three_indices': dict( # llm used
12951297
name=['index_put'],
12961298
tensor_para=dict(
12971299
args=[
@@ -1303,7 +1305,7 @@
13031305
),
13041306
),
13051307

1306-
'index_put_acc_two_indices': dict(
1308+
'index_put_acc_two_indices': dict( # llm used
13071309
name=['index_put'],
13081310
tensor_para=dict(
13091311
args=[
@@ -1315,7 +1317,7 @@
13151317
),
13161318
),
13171319

1318-
'index_put_acc_one_indices': dict(
1320+
'index_put_acc_one_indices': dict( # llm used
13191321
name=['index_put'],
13201322
tensor_para=dict(
13211323
args=[
@@ -1327,7 +1329,7 @@
13271329
),
13281330
),
13291331

1330-
'index_put_acc_bool_indices_zeros': dict(
1332+
'index_put_acc_bool_indices_zeros': dict( # llm used
13311333
name=['index_put'],
13321334
tensor_para=dict(
13331335
args=[
@@ -1339,7 +1341,7 @@
13391341
),
13401342
),
13411343

1342-
'index_put_one_indices': dict(
1344+
'index_put_one_indices': dict( # llm used
13431345
name=['index_put'],
13441346
tensor_para=dict(
13451347
args=[
@@ -1351,7 +1353,7 @@
13511353
),
13521354
),
13531355

1354-
'index_put_bool_indices_value': dict(
1356+
'index_put_bool_indices_value': dict( # llm used
13551357
name=['index_put'],
13561358
tensor_para=dict(
13571359
args=[
@@ -1436,7 +1438,7 @@
14361438
),
14371439
),
14381440

1439-
'copy': dict(
1441+
'copy': dict( # llm used
14401442
name=["copy_"],
14411443
tensor_para=dict(
14421444
# FIXME data type DT_COMPLEX128 of input [dst] is not supported
@@ -1454,7 +1456,7 @@
14541456
)
14551457
),
14561458

1457-
'copy_input_no_contiguous': dict(
1459+
'copy_input_no_contiguous': dict( # llm used
14581460
name=["copy_"],
14591461
tensor_para=dict(
14601462
# FIXME not supported complex
@@ -1472,7 +1474,7 @@
14721474
)
14731475
),
14741476

1475-
'copy_other_no_contiguous': dict(
1477+
'copy_other_no_contiguous': dict( # llm used
14761478
name=["copy_"],
14771479
tensor_para=dict(
14781480
# FIXME data type DT_COMPLEX64 of input [dst] is not supported
@@ -1491,7 +1493,7 @@
14911493
)
14921494
),
14931495

1494-
'copy_all_no_contiguous': dict(
1496+
'copy_all_no_contiguous': dict( # llm used
14951497
name=["copy_"],
14961498
tensor_para=dict(
14971499
# FIXME data type DT_COMPLEX64 of input [dst] is not supported
@@ -1509,7 +1511,7 @@
15091511
)
15101512
),
15111513

1512-
'fill_not_float': dict(
1514+
'fill_not_float': dict( # llm used
15131515
name=["fill_"],
15141516
tensor_para=dict(
15151517
args=[
@@ -1581,7 +1583,7 @@
15811583
),
15821584
),
15831585

1584-
'repeat': dict(
1586+
'repeat': dict( # llm used
15851587
name=['repeat'],
15861588
tensor_para=dict(
15871589
args=[
@@ -1641,7 +1643,7 @@
16411643
),
16421644
),
16431645

1644-
'triu': dict(
1646+
'triu': dict( # llm used
16451647
name=['triu'],
16461648
tensor_para=dict(
16471649
args=[
@@ -1677,7 +1679,7 @@
16771679
),
16781680
),
16791681

1680-
'reduce_partial_op_4': dict(
1682+
'reduce_partial_op_4': dict( # llm used
16811683
name=['sum'],
16821684
interface=['torch'],
16831685
atol=1e-4,

0 commit comments

Comments
 (0)