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

BUG: gpu to_cpu() error #830

Open
luweizheng opened this issue Nov 17, 2024 · 0 comments
Open

BUG: gpu to_cpu() error #830

luweizheng opened this issue Nov 17, 2024 · 0 comments
Labels
bug Something isn't working gpu
Milestone

Comments

@luweizheng
Copy link
Collaborator

python/xorbits/_mars/tensor/base/tests/test_base_execution.py

    @require_cupy
    def test_to_gpu_execution(setup_gpu):
        raw = np.random.rand(10, 10)
        x = tensor(raw, chunk_size=3)

        gx = to_gpu(x)

>       res = gx.execute().fetch(to_cpu=False)

xorbits/_mars/tensor/base/tests/test_base_execution.py:1142:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
xorbits/_mars/core/entity/tileables.py:430: in execute
    result = self.data.execute(session=session, **kw)
xorbits/_mars/core/entity/executable.py:152: in execute
    return execute(self, session=session, **kw)
xorbits/_mars/deploy/oscar/session.py:1789: in execute
    return session.execute(
xorbits/_mars/deploy/oscar/session.py:1600: in execute
    execution_info: ExecutionInfo = fut.result(
/opt/conda/lib/python3.12/concurrent/futures/_base.py:456: in result
    return self.__get_result()
/opt/conda/lib/python3.12/concurrent/futures/_base.py:401: in __get_result
    raise self._exception
@XprobeBot XprobeBot added bug Something isn't working gpu labels Nov 17, 2024
@XprobeBot XprobeBot added this to the v0.7.4 milestone Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gpu
Projects
None yet
Development

No branches or pull requests

2 participants