Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
945e0522
P
Paddle
项目概览
PaddlePaddle
/
Paddle
1 年多 前同步成功
通知
2302
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看板
未验证
提交
945e0522
编写于
6月 12, 2023
作者:
Y
Yuang Liu
提交者:
GitHub
6月 12, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix a100 cuda 12 ut (#54542) (#54550)
上级
ee5430fb
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
27 addition
and
12 deletion
+27
-12
test/collective/CMakeLists.txt
test/collective/CMakeLists.txt
+12
-4
test/collective/fleet/CMakeLists.txt
test/collective/fleet/CMakeLists.txt
+13
-6
test/collective/fleet/hybrid_parallel_mp_layers.py
test/collective/fleet/hybrid_parallel_mp_layers.py
+1
-1
test/distributed_passes/CMakeLists.txt
test/distributed_passes/CMakeLists.txt
+1
-1
未找到文件。
test/collective/CMakeLists.txt
浏览文件 @
945e0522
...
@@ -200,8 +200,12 @@ if((WITH_GPU OR WITH_ROCM) AND (LINUX))
...
@@ -200,8 +200,12 @@ if((WITH_GPU OR WITH_ROCM) AND (LINUX))
endif
()
endif
()
if
((
WITH_GPU OR WITH_ROCM
)
AND
(
LINUX
))
if
((
WITH_GPU OR WITH_ROCM
)
AND
(
LINUX
))
py_test_modules
(
py_test_modules
(
test_collective_reduce_api MODULES test_collective_reduce_api ENVS
test_collective_reduce_api
"http_proxy=;https_proxy=;PYTHONPATH=..:
${
PADDLE_BINARY_DIR
}
/python"
)
MODULES
test_collective_reduce_api
ENVS
"NVIDIA_TF32_OVERRIDE=0;http_proxy=;https_proxy=;PYTHONPATH=..:
${
PADDLE_BINARY_DIR
}
/python"
)
set_tests_properties
(
test_collective_reduce_api
set_tests_properties
(
test_collective_reduce_api
PROPERTIES TIMEOUT
"500"
LABELS
"RUN_TYPE=DIST"
)
PROPERTIES TIMEOUT
"500"
LABELS
"RUN_TYPE=DIST"
)
endif
()
endif
()
...
@@ -272,8 +276,12 @@ if((WITH_GPU OR WITH_ROCM) AND (LINUX))
...
@@ -272,8 +276,12 @@ if((WITH_GPU OR WITH_ROCM) AND (LINUX))
endif
()
endif
()
if
((
WITH_GPU OR WITH_ROCM
)
AND
(
LINUX
))
if
((
WITH_GPU OR WITH_ROCM
)
AND
(
LINUX
))
py_test_modules
(
py_test_modules
(
test_collective_split_col_linear MODULES test_collective_split_col_linear
test_collective_split_col_linear
ENVS
"http_proxy=;https_proxy=;PYTHONPATH=..:
${
PADDLE_BINARY_DIR
}
/python"
)
MODULES
test_collective_split_col_linear
ENVS
"NVIDIA_TF32_OVERRIDE=0;http_proxy=;https_proxy=;PYTHONPATH=..:
${
PADDLE_BINARY_DIR
}
/python"
)
set_tests_properties
(
test_collective_split_col_linear
set_tests_properties
(
test_collective_split_col_linear
PROPERTIES TIMEOUT
"300"
LABELS
"RUN_TYPE=DIST"
)
PROPERTIES TIMEOUT
"300"
LABELS
"RUN_TYPE=DIST"
)
endif
()
endif
()
...
...
test/collective/fleet/CMakeLists.txt
浏览文件 @
945e0522
...
@@ -332,7 +332,7 @@ if(LOCAL_ALL_ARCH AND LOCAL_ALL_PLAT)
...
@@ -332,7 +332,7 @@ if(LOCAL_ALL_ARCH AND LOCAL_ALL_PLAT)
LABELS
LABELS
"RUN_TYPE=DIST"
"RUN_TYPE=DIST"
ENVS
ENVS
"PADDLE_DIST_UT_PORT=21234;http_proxy=;https_proxy=;PYTHONPATH=../..:
${
PADDLE_BINARY_DIR
}
/python"
"
NVIDIA_TF32_OVERRIDE=0;
PADDLE_DIST_UT_PORT=21234;http_proxy=;https_proxy=;PYTHONPATH=../..:
${
PADDLE_BINARY_DIR
}
/python"
)
)
set_tests_properties
(
test_hybrid_parallel_inference_helper PROPERTIES TIMEOUT
set_tests_properties
(
test_hybrid_parallel_inference_helper PROPERTIES TIMEOUT
"120"
)
"120"
)
...
@@ -351,8 +351,12 @@ if((WITH_GPU OR WITH_ROCM) AND (LINUX OR WIN32))
...
@@ -351,8 +351,12 @@ if((WITH_GPU OR WITH_ROCM) AND (LINUX OR WIN32))
endif
()
endif
()
if
(
LOCAL_ALL_ARCH AND LOCAL_ALL_PLAT
)
if
(
LOCAL_ALL_ARCH AND LOCAL_ALL_PLAT
)
py_test_modules
(
py_test_modules
(
test_recv_save_op MODULES test_recv_save_op ENVS
test_recv_save_op
"http_proxy=;https_proxy=;PYTHONPATH=../..:
${
PADDLE_BINARY_DIR
}
/python"
)
MODULES
test_recv_save_op
ENVS
"NVIDIA_TF32_OVERRIDE=0;http_proxy=;https_proxy=;PYTHONPATH=../..:
${
PADDLE_BINARY_DIR
}
/python"
)
endif
()
endif
()
if
(
LOCAL_ALL_ARCH AND LOCAL_ALL_PLAT
)
if
(
LOCAL_ALL_ARCH AND LOCAL_ALL_PLAT
)
py_test_modules
(
py_test_modules
(
...
@@ -696,7 +700,7 @@ if((WITH_GPU OR WITH_ROCM) AND LOCAL_ALL_PLAT)
...
@@ -696,7 +700,7 @@ if((WITH_GPU OR WITH_ROCM) AND LOCAL_ALL_PLAT)
LABELS
LABELS
"RUN_TYPE=DIST"
"RUN_TYPE=DIST"
ENVS
ENVS
"PADDLE_DIST_UT_PORT=21274;http_proxy=;https_proxy=;PYTHONPATH=../..:
${
PADDLE_BINARY_DIR
}
/python"
"
NVIDIA_TF32_OVERRIDE=0;
PADDLE_DIST_UT_PORT=21274;http_proxy=;https_proxy=;PYTHONPATH=../..:
${
PADDLE_BINARY_DIR
}
/python"
)
)
set_tests_properties
(
test_parallel_dygraph_mnist PROPERTIES TIMEOUT
"200"
)
set_tests_properties
(
test_parallel_dygraph_mnist PROPERTIES TIMEOUT
"200"
)
endif
()
endif
()
...
@@ -922,9 +926,12 @@ if((WITH_GPU) AND (LINUX))
...
@@ -922,9 +926,12 @@ if((WITH_GPU) AND (LINUX))
endif
()
endif
()
if
((
WITH_GPU
)
AND
(
LINUX
))
if
((
WITH_GPU
)
AND
(
LINUX
))
py_test_modules
(
py_test_modules
(
test_dygraph_save_for_auto_infer MODULES test_dygraph_save_for_auto_infer
test_dygraph_save_for_auto_infer
MODULES
test_dygraph_save_for_auto_infer
ENVS
ENVS
"http_proxy=;https_proxy=;PYTHONPATH=../..:
${
PADDLE_BINARY_DIR
}
/python"
)
"NVIDIA_TF32_OVERRIDE=0;http_proxy=;https_proxy=;PYTHONPATH=../..:
${
PADDLE_BINARY_DIR
}
/python"
)
set_tests_properties
(
test_dygraph_save_for_auto_infer
set_tests_properties
(
test_dygraph_save_for_auto_infer
PROPERTIES TIMEOUT
"300"
LABELS
"RUN_TYPE=DIST"
)
PROPERTIES TIMEOUT
"300"
LABELS
"RUN_TYPE=DIST"
)
endif
()
endif
()
test/collective/fleet/hybrid_parallel_mp_layers.py
浏览文件 @
945e0522
...
@@ -221,7 +221,7 @@ class TestDistTraning(unittest.TestCase):
...
@@ -221,7 +221,7 @@ class TestDistTraning(unittest.TestCase):
optimizer_b
.
step
()
optimizer_b
.
step
()
np
.
testing
.
assert_allclose
(
np
.
testing
.
assert_allclose
(
loss_a
.
numpy
(),
loss_b
.
numpy
(),
rtol
=
5e-
6
loss_a
.
numpy
(),
loss_b
.
numpy
(),
rtol
=
5e-
5
)
)
def
test_parallel_embedding
(
self
):
def
test_parallel_embedding
(
self
):
...
...
test/distributed_passes/CMakeLists.txt
浏览文件 @
945e0522
...
@@ -27,7 +27,7 @@ if(NOT ((WITH_GPU) AND (CUDA_VERSION GREATER_EQUAL 11.6)))
...
@@ -27,7 +27,7 @@ if(NOT ((WITH_GPU) AND (CUDA_VERSION GREATER_EQUAL 11.6)))
endif
()
endif
()
foreach
(
TEST_OP
${
TEST_OPS
}
)
foreach
(
TEST_OP
${
TEST_OPS
}
)
py_test_modules
(
${
TEST_OP
}
MODULES
${
TEST_OP
}
)
py_test_modules
(
${
TEST_OP
}
MODULES
${
TEST_OP
}
ENVS
"NVIDIA_TF32_OVERRIDE=0"
)
list
(
APPEND DIST_TEST_OPS
${
TEST_OP
}
)
list
(
APPEND DIST_TEST_OPS
${
TEST_OP
}
)
set_tests_properties
(
${
TEST_OP
}
PROPERTIES TIMEOUT 200
)
set_tests_properties
(
${
TEST_OP
}
PROPERTIES TIMEOUT 200
)
set_tests_properties
(
${
TEST_OP
}
PROPERTIES LABELS
"RUN_TYPE=DIST"
)
set_tests_properties
(
${
TEST_OP
}
PROPERTIES LABELS
"RUN_TYPE=DIST"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录