Commit 042e42e
committed
Fix CI: add CUDA EP external data guard, fix TreeEnsemble test dims
- Add HasExternalData check to CUDA EP non-plugin LabelEncoder path
(GetAttrOrTensor and TryGetScalarTensorAttribute) so error messages
are consistent across all EPs.
- Remove CUDA EP exclusion from LabelEncoder tests since all EPs now
reject external data uniformly.
- Fix TreeEnsemble opset 5 test: nodes_splits dims must match the
number of elements in nodes_featureids and other node attributes
(changed from 3 to 1).1 parent 7418072 commit 042e42e
3 files changed
Lines changed: 11 additions & 13 deletions
File tree
- onnxruntime
- core/providers/cuda/ml
- test/providers/cpu/ml
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| 122 | + | |
| 123 | + | |
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
822 | | - | |
823 | | - | |
824 | | - | |
| 822 | + | |
825 | 823 | | |
826 | 824 | | |
827 | 825 | | |
| |||
837 | 835 | | |
838 | 836 | | |
839 | 837 | | |
840 | | - | |
841 | | - | |
842 | | - | |
| 838 | + | |
843 | 839 | | |
844 | 840 | | |
845 | 841 | | |
| |||
868 | 864 | | |
869 | 865 | | |
870 | 866 | | |
871 | | - | |
872 | | - | |
873 | | - | |
| 867 | + | |
874 | 868 | | |
875 | 869 | | |
876 | 870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| |||
0 commit comments