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

test/integration_tests/long/test_model_train.py failed when running with other long integration test cases #1036

Open
1 of 2 tasks
xzdandy opened this issue Sep 5, 2023 · 0 comments
Assignees
Labels
Bug 🐞 EVA is not working as expected

Comments

@xzdandy
Copy link
Collaborator

xzdandy commented Sep 5, 2023

Search before asking

  • I have searched the EvaDB issues and found no similar bug report.

Bug

  1. test/integration_tests/long/test_model_train.py passes when run as an independent test cases python -m pytest test/integration_tests/long/test_model_train.py
  2. test/integration_tests/long/test_model_train.py fails when run with other long integration test cases bash script/test/test.sh -m "LONG INTEGRATION". Error message is the following:
2023-09-05 04:55:35,550 ERROR trial_runner.py:1450 -- Trial trial_616e2c8f: Error happened when processing _ExecutorEventType.TRAINING_R
ESULT.
ray.exceptions.RayTaskError(RuntimeError): ray::ImplicitFunc.train() (pid=4168710, ip=130.207.125.60, repr=run_experiment_trial)
  File "/home/zxu330/eva/evadb-venv-test/lib/python3.10/site-packages/ray/tune/trainable/trainable.py", line 384, in train
    raise skipped from exception_cause(skipped)
  File "/home/zxu330/eva/evadb-venv-test/lib/python3.10/site-packages/ray/tune/trainable/function_trainable.py", line 336, in entrypoint
    return self._trainable_func(
  File "/home/zxu330/eva/evadb-venv-test/lib/python3.10/site-packages/ray/tune/trainable/function_trainable.py", line 653, in _trainable
_func
    output = fn()
  File "/home/zxu330/eva/evadb-venv-test/lib/python3.10/site-packages/ray/tune/trainable/util.py", line 413, in inner
    return trainable(config, **fn_kwargs)
  File "/home/zxu330/eva/evadb-venv-test/lib/python3.10/site-packages/ludwig/hyperopt/execution.py", line 782, in run_experiment_trial
    return self._run_experiment(
  File "/home/zxu330/eva/evadb-venv-test/lib/python3.10/site-packages/ludwig/hyperopt/execution.py", line 457, in _run_experiment
    wait_for_gpu(gpu_id)
  File "/home/zxu330/eva/evadb-venv-test/lib/python3.10/site-packages/ray/tune/utils/util.py", line 570, in wait_for_gpu
    raise RuntimeError("GPU memory was not freed.")
RuntimeError: GPU memory was not freed.

It looks like GPU memory resources are not freed from some other test cases.

Environment

The failure can not be reproduced on circleci, given no GPU resources.

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@xzdandy xzdandy added the Bug 🐞 EVA is not working as expected label Sep 5, 2023
@jiashenC jiashenC self-assigned this Sep 14, 2023
@xzdandy xzdandy added this to the v0.3.7 milestone Sep 22, 2023
@xzdandy xzdandy removed this from the v0.3.7 milestone Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 EVA is not working as expected
Projects
Development

No branches or pull requests

2 participants