未验证 提交 e5b71671 编写于 作者: Z zhangbo9674 提交者: GitHub

fix gpt bug (#56419)

上级 1322cd92
...@@ -18,11 +18,7 @@ namespace paddle { ...@@ -18,11 +18,7 @@ namespace paddle {
namespace dialect { namespace dialect {
const std::unordered_set<std::string> LegacyOpList = { const std::unordered_set<std::string> LegacyOpList = {
"pd.fused_softmax_mask_upper_triangle", "pd.load_combine", "pd.c_concat", "pd.c_broadcast_"};
"pd.fused_softmax_mask_upper_triangle_grad",
"pd.load_combine",
"pd.c_concat",
"pd.c_broadcast_"};
enum class AttrType { enum class AttrType {
UNDEFINED = 0, UNDEFINED = 0,
......
...@@ -457,7 +457,7 @@ ...@@ -457,7 +457,7 @@
outputs : outputs :
out : Out out : Out
- op : check_finite_and_unscale_ - op : check_finite_and_unscale_(check_finite_and_unscale)
inputs : inputs :
{x : X, scale: Scale} {x : X, scale: Scale}
outputs : outputs :
...@@ -2937,7 +2937,7 @@ ...@@ -2937,7 +2937,7 @@
outputs : outputs :
out : Y out : Y
- op : update_loss_scaling_ - op : update_loss_scaling_(update_loss_scaling)
inputs : inputs :
{x : X, found_infinite : FoundInfinite, prev_loss_scaling : PrevLossScaling, in_good_steps : InGoodSteps, in_bad_steps : InBadSteps} {x : X, found_infinite : FoundInfinite, prev_loss_scaling : PrevLossScaling, in_good_steps : InGoodSteps, in_bad_steps : InBadSteps}
outputs : outputs :
...@@ -3027,6 +3027,12 @@ ...@@ -3027,6 +3027,12 @@
attrs: attrs:
pivot : pivots pivot : pivots
- op: memcpy_d2h
inputs :
x : X
outputs :
out : Out
- op: reindex_graph (graph_reindex) - op: reindex_graph (graph_reindex)
inputs : inputs :
{x : X, neighbors : Neighbors, count : Count, hashtable_value : HashTable_Value, hashtable_index : HashTable_Index} {x : X, neighbors : Neighbors, count : Count, hashtable_value : HashTable_Value, hashtable_index : HashTable_Index}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册