Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix_ci] set PLUGIN_TAG release/2.6 #62731

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/custom_runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if(WITH_CUSTOM_DEVICE AND NOT WITH_GPU)
set(PLUGIN_URL https://github.com/PaddlePaddle/PaddleCustomDevice.git)
set(PLUGIN_TAG develop)
set(PLUGIN_TAG release/2.6)

file(
GLOB TEST_OPS
Expand Down
3 changes: 2 additions & 1 deletion test/custom_runtime/test_collective_process_group_xccl.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def setUp(self):
cur_dir = os.path.dirname(os.path.abspath(__file__))
self.temp_dir = tempfile.TemporaryDirectory()
cmd = 'cd {} \
&& git clone --depth 1 {} \
&& git clone --depth 1 {} -b {} \
&& cd PaddleCustomDevice \
&& git fetch origin \
&& git checkout {} -b dev \
Expand All @@ -159,6 +159,7 @@ def setUp(self):
self.temp_dir.name,
os.getenv('PLUGIN_URL'),
os.getenv('PLUGIN_TAG'),
os.getenv('PLUGIN_TAG'),
sys.executable,
)
os.system(cmd)
Expand Down
3 changes: 2 additions & 1 deletion test/custom_runtime/test_custom_cpu_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def setUp(self):
cur_dir = os.path.dirname(os.path.abspath(__file__))
self.temp_dir = tempfile.TemporaryDirectory()
cmd = 'cd {} \
&& git clone --depth 1 {} \
&& git clone --depth 1 {} -b {} \
&& cd PaddleCustomDevice \
&& git fetch origin \
&& git checkout {} -b dev \
Expand All @@ -35,6 +35,7 @@ def setUp(self):
self.temp_dir.name,
os.getenv('PLUGIN_URL'),
os.getenv('PLUGIN_TAG'),
os.getenv('PLUGIN_TAG'),
sys.executable,
)
os.system(cmd)
Expand Down
3 changes: 2 additions & 1 deletion test/custom_runtime/test_custom_cpu_profiler_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def setUp(self):
cur_dir = os.path.dirname(os.path.abspath(__file__))
self.temp_dir = tempfile.TemporaryDirectory()
cmd = 'cd {} \
&& git clone --depth 1 {} \
&& git clone --depth 1 {} -b {} \
&& cd PaddleCustomDevice \
&& git fetch origin \
&& git checkout {} -b dev \
Expand All @@ -33,6 +33,7 @@ def setUp(self):
self.temp_dir.name,
os.getenv('PLUGIN_URL'),
os.getenv('PLUGIN_TAG'),
os.getenv('PLUGIN_TAG'),
sys.executable,
)
os.system(cmd)
Expand Down
3 changes: 2 additions & 1 deletion test/custom_runtime/test_custom_cpu_to_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def setUp(self):
cur_dir = os.path.dirname(os.path.abspath(__file__))
self.temp_dir = tempfile.TemporaryDirectory()
cmd = 'cd {} \
&& git clone --depth 1 {} \
&& git clone --depth 1 {} -b {} \
&& cd PaddleCustomDevice \
&& git fetch origin \
&& git checkout {} -b dev \
Expand All @@ -115,6 +115,7 @@ def setUp(self):
self.temp_dir.name,
os.getenv('PLUGIN_URL'),
os.getenv('PLUGIN_TAG'),
os.getenv('PLUGIN_TAG'),
sys.executable,
)
os.system(cmd)
Expand Down
3 changes: 2 additions & 1 deletion test/custom_runtime/test_custom_op_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def setUp(self):
self.cur_dir = os.path.dirname(os.path.abspath(__file__))
self.temp_dir = tempfile.TemporaryDirectory()
cmd = 'cd {} \
&& git clone --depth 1 {} \
&& git clone --depth 1 {} -b {} \
&& cd PaddleCustomDevice \
&& git fetch origin \
&& git checkout {} -b dev \
Expand All @@ -114,6 +114,7 @@ def setUp(self):
self.temp_dir.name,
os.getenv('PLUGIN_URL'),
os.getenv('PLUGIN_TAG'),
os.getenv('PLUGIN_TAG'),
sys.executable,
self.cur_dir,
)
Expand Down
2 changes: 1 addition & 1 deletion test/custom_runtime/test_fleet_launch_custom_device.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -e

temp_dir=$(mktemp --directory)
pushd ${temp_dir} \
&& git clone --depth 1 ${PLUGIN_URL} \
&& git clone --depth 1 ${PLUGIN_URL} -b ${PLUGIN_TAG} \
&& pushd PaddleCustomDevice/ \
&& git fetch origin \
&& git checkout ${PLUGIN_TAG} -b dev \
Expand Down