forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core][compiled graphs] Fix test_torch_tensor_dag_gpu CI failure (ray…
…-project#48204) ## Why are these changes needed? This PR fixes test_torch_tensor_dag_gpu with the following quick patches: 1. Revert ray-project#47702 , otherwise there is segfault 2. Move TestNcclGroup as an inner class for the tests, otherwise there are the following error: ``` (TorchTensorWorker pid=2261373) No module named 'test_torch_tensor_dag' (TorchTensorWorker pid=2261373) Traceback (most recent call last): (TorchTensorWorker pid=2261373) File "/home/ubuntu/ray/python/ray/_private/serialization.py", line 460, in deserialize_objects (TorchTensorWorker pid=2261373) obj = self._deserialize_object(data, metadata, object_ref) (TorchTensorWorker pid=2261373) File "/home/ubuntu/ray/python/ray/_private/serialization.py", line 317, in _deserialize_object (TorchTensorWorker pid=2261373) return self._deserialize_msgpack_data(data, metadata_fields) (TorchTensorWorker pid=2261373) File "/home/ubuntu/ray/python/ray/_private/serialization.py", line 272, in _deserialize_msgpack_data (TorchTensorWorker pid=2261373) python_objects = self._deserialize_pickle5_data(pickle5_data) (TorchTensorWorker pid=2261373) File "/home/ubuntu/ray/python/ray/_private/serialization.py", line 262, in _deserialize_pickle5_data (TorchTensorWorker pid=2261373) obj = pickle.loads(in_band) (TorchTensorWorker pid=2261373) ModuleNotFoundError: No module named 'test_torch_tensor_dag' ```
- Loading branch information
1 parent
6611444
commit e1679c2
Showing
10 changed files
with
362 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.