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

fix gpt bug (#56419)

上级 1322cd92
......@@ -18,11 +18,7 @@ namespace paddle {
namespace dialect {
const std::unordered_set<std::string> LegacyOpList = {
"pd.fused_softmax_mask_upper_triangle",
"pd.fused_softmax_mask_upper_triangle_grad",
"pd.load_combine",
"pd.c_concat",
"pd.c_broadcast_"};
"pd.load_combine", "pd.c_concat", "pd.c_broadcast_"};
enum class AttrType {
UNDEFINED = 0,
......
......@@ -457,7 +457,7 @@
outputs :
out : Out
- op : check_finite_and_unscale_
- op : check_finite_and_unscale_(check_finite_and_unscale)
inputs :
{x : X, scale: Scale}
outputs :
......@@ -2937,7 +2937,7 @@
outputs :
out : Y
- op : update_loss_scaling_
- op : update_loss_scaling_(update_loss_scaling)
inputs :
{x : X, found_infinite : FoundInfinite, prev_loss_scaling : PrevLossScaling, in_good_steps : InGoodSteps, in_bad_steps : InBadSteps}
outputs :
......@@ -3027,6 +3027,12 @@
attrs:
pivot : pivots
- op: memcpy_d2h
inputs :
x : X
outputs :
out : Out
- op: reindex_graph (graph_reindex)
inputs :
{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.
先完成此消息的编辑!
想要评论请 注册