Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
4f7dfd02
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2298
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
4f7dfd02
编写于
5月 16, 2023
作者:
C
co63oc
提交者:
GitHub
5月 16, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix typos, test=document_fix (#53803)
上级
847c48a8
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
10 addition
and
10 deletion
+10
-10
paddle/phi/core/allocator.h
paddle/phi/core/allocator.h
+1
-1
paddle/phi/core/dense_tensor.cc
paddle/phi/core/dense_tensor.cc
+1
-1
paddle/phi/core/enforce.h
paddle/phi/core/enforce.h
+1
-1
paddle/phi/core/errors.h
paddle/phi/core/errors.h
+1
-1
paddle/phi/core/flags.cc
paddle/phi/core/flags.cc
+6
-6
未找到文件。
paddle/phi/core/allocator.h
浏览文件 @
4f7dfd02
...
...
@@ -70,7 +70,7 @@ class Allocation {
// the AlignedAllocator will always allocate memory as size + kAlignment.
// The raw pointer might not aligned, so an offset might be added to raw
// the pointer. The size of this allocation will be
// `size + kAlign
em
nt - offset`.
// `size + kAlign
me
nt - offset`.
size_t
size
()
const
noexcept
{
return
size_
;
}
void
*
operator
->
()
const
noexcept
{
return
ptr_
;
}
...
...
paddle/phi/core/dense_tensor.cc
浏览文件 @
4f7dfd02
...
...
@@ -106,7 +106,7 @@ void* DenseTensor::AllocateFrom(Allocator* allocator,
phi
::
errors
::
InvalidArgument
(
"Required allocator shall not be nullptr, but received nullptr."
));
if
(
this
->
dtype
()
!=
dtype
)
{
VLOG
(
10
)
<<
"change data type in mut
ba
le_data, target dtype - "
<<
dtype
;
VLOG
(
10
)
<<
"change data type in mut
ab
le_data, target dtype - "
<<
dtype
;
meta_
.
dtype
=
dtype
;
}
...
...
paddle/phi/core/enforce.h
浏览文件 @
4f7dfd02
...
...
@@ -351,7 +351,7 @@ struct EnforceNotMet : public std::exception {
// Complete error message
// e.g. InvalidArgumentError: ***
std
::
string
err_str_
;
// Simple err
r
or message used when no C++ stack and python compile stack
// Simple error message used when no C++ stack and python compile stack
// e.g. (InvalidArgument) ***
std
::
string
simple_err_str_
;
};
...
...
paddle/phi/core/errors.h
浏览文件 @
4f7dfd02
...
...
@@ -66,7 +66,7 @@ enum ErrorCode {
EXECUTION_TIMEOUT
=
8
,
// Operation is not implemented or not supported/enabled in this service.
// Error type string: "Unimp
el
mentedError"
// Error type string: "Unimp
le
mentedError"
UNIMPLEMENTED
=
9
,
// The service is currently unavailable. This is a most likely a
...
...
paddle/phi/core/flags.cc
浏览文件 @
4f7dfd02
...
...
@@ -1050,10 +1050,10 @@ DEFINE_int32(record_pool_max_size,
DEFINE_int32
(
slotpool_thread_num
,
1
,
"SlotRecordDataset slot pool thread num"
);
DEFINE_bool
(
enable_slotpool_wait_release
,
false
,
"enable slotrecord ob
ej
ct wait release, default false"
);
"enable slotrecord ob
je
ct wait release, default false"
);
DEFINE_bool
(
enable_slotrecord_reset_shrink
,
false
,
"enable slotrecord ob
ej
ct reset shrink memory, default false"
);
"enable slotrecord ob
je
ct reset shrink memory, default false"
);
DEFINE_bool
(
enable_ins_parser_file
,
false
,
"enable parser ins file, default false"
);
...
...
@@ -1067,7 +1067,7 @@ PHI_DEFINE_EXPORTED_double(gpugraph_hbm_table_load_factor,
PHI_DEFINE_EXPORTED_bool
(
gpugraph_enable_gpu_direct_access
,
false
,
"enable direct access b
w
tween multi gpu cards, default false"
);
"enable direct access b
e
tween multi gpu cards, default false"
);
PHI_DEFINE_EXPORTED_bool
(
gpugraph_enable_segment_merge_grads
,
false
,
...
...
@@ -1140,12 +1140,12 @@ PHI_DEFINE_EXPORTED_int32(search_cache_max_number,
"search_cache_max_number."
);
/**
* P
re
formance related FLAG
* P
er
formance related FLAG
* Name: einsum_opt
* Since Version: 2.3.0
* Value Range: bool, default=false
* Example:
* Note: If True, EinsumOp will be optimi
m
zed by innercache reuse, which
* Note: If True, EinsumOp will be optimized by innercache reuse, which
* uses more gpu memory.
*/
PHI_DEFINE_EXPORTED_bool
(
...
...
@@ -1166,7 +1166,7 @@ PHI_DEFINE_EXPORTED_bool(
*/
PHI_DEFINE_EXPORTED_string
(
jit_engine_type
,
"Predictor"
,
"Choose default func
it
on type in JitLayer."
);
"Choose default func
ti
on type in JitLayer."
);
/**
* Custom Device NPU related FLAG
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录