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

pd: skip certain UT and fix paddle ver in in test_cuda.yml #4439

Merged
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 .github/workflows/test_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- run: |
export PYTORCH_ROOT=$(python -c 'import torch;print(torch.__path__[0])')
export TENSORFLOW_ROOT=$(python -c 'import importlib,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')
source/install/uv_with_retry.sh pip install --system --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu123/
source/install/uv_with_retry.sh pip install --system --pre https://paddle-whl.bj.bcebos.com/nightly/cu123/paddlepaddle-gpu/paddlepaddle_gpu-3.0.0.dev20241126-cp311-cp311-linux_x86_64.whl
source/install/uv_with_retry.sh pip install --system -v -e .[gpu,test,lmp,cu12,torch,jax] mpi4py
env:
DP_VARIANT: cuda
Expand Down
2 changes: 2 additions & 0 deletions source/tests/pd/test_dp_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
)


@unittest.skip("Skip until solving cuda error 709 in jit.save")
class TestSingleTaskModel(unittest.TestCase):
njzjz marked this conversation as resolved.
Show resolved Hide resolved
def setUp(self):
input_json = str(Path(__file__).parent / "water/se_atten.json")
Expand Down Expand Up @@ -101,6 +102,7 @@ def tearDown(self):
shutil.rmtree(f)


@unittest.skip("Skip until solving cuda error 709 in jit.save")
class TestMultiTaskModel(unittest.TestCase):
def setUp(self):
input_json = str(Path(__file__).parent / "water/multitask.json")
Expand Down
2 changes: 2 additions & 0 deletions source/tests/pd/test_multitask.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def setUpModule():
multitask_template = json.load(f)


@unittest.skip("Skip until solving cuda error 709 in jit.save")
njzjz marked this conversation as resolved.
Show resolved Hide resolved
class MultiTaskTrainTest:
def test_multitask_train(self):
# test multitask training
Expand Down Expand Up @@ -181,6 +182,7 @@ def tearDown(self):
shutil.rmtree(f)


@unittest.skip("Skip until solving cuda error 709 in jit.save")
njzjz marked this conversation as resolved.
Show resolved Hide resolved
class TestMultiTaskSeA(unittest.TestCase, MultiTaskTrainTest):
def setUp(self):
multitask_se_e2_a = deepcopy(multitask_template)
Expand Down