Git Product home page Git Product logo

Comments (12)

fyrestone avatar fyrestone commented on June 12, 2024

Could you provide the full traceback details?

from mars.

kexuedaishu avatar kexuedaishu commented on June 12, 2024

Traceback (most recent call last):
File "/mnt/nfs/yijing.zhou/venv_38/lib/python3.8/site-packages/mars/services/cluster/uploader.py", line 114, in upload_node_info
self._info.env = await asyncio.to_thread(gather_node_env)
File "/mnt/nfs/yijing.zhou/venv_38/lib/python3.8/site-packages/mars/lib/aio/_threads.py", line 36, in to_thread
return await loop.run_in_executor(None, func_call)
File "/mnt/nfs/zhihui/anaconda3/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/mnt/nfs/yijing.zhou/venv_38/lib/python3.8/site-packages/mars/services/cluster/gather.py", line 73, in gather_node_env
cuda_info = mars_resource.cuda_info()
File "/mnt/nfs/yijing.zhou/venv_38/lib/python3.8/site-packages/mars/resource.py", line 352, in cuda_info
products=[nvutils.get_device_info(idx).name for idx in range(gpu_count)],
File "/mnt/nfs/yijing.zhou/venv_38/lib/python3.8/site-packages/mars/resource.py", line 352, in
products=[nvutils.get_device_info(idx).name for idx in range(gpu_count)],
File "/mnt/nfs/yijing.zhou/venv_38/lib/python3.8/site-packages/mars/lib/nvutils.py", line 343, in get_device_info
uuid=uuid.UUID(bytes=uuid_t.bytes),
File "/mnt/nfs/zhihui/anaconda3/lib/python3.8/uuid.py", line 180, in init
raise ValueError('bytes is not a 16-char string')
ValueError: bytes is not a 16-char string
Failed to upload node info: bytes is not a 16-char string

from mars.

qinxuye avatar qinxuye commented on June 12, 2024

Which Mars version did you use?

from mars.

kexuedaishu avatar kexuedaishu commented on June 12, 2024

0.9.0a1

from mars.

fyrestone avatar fyrestone commented on June 12, 2024

0.9.0a1

Can you try the latest version?

from mars.

kexuedaishu avatar kexuedaishu commented on June 12, 2024

yes, actually the older version 0.6.1 was used, but have to upgrade to the newer version and encountered such errors...

from mars.

qinxuye avatar qinxuye commented on June 12, 2024

Latest version v0.10.0 may address your issue, could you try it please?

from mars.

flpractioner avatar flpractioner commented on June 12, 2024

I just tried, the latest version v0.10.0 doesn't work as well.

from mars.

qinxuye avatar qinxuye commented on June 12, 2024

Looks like sth went wrong when getting info from cuda device, can you give more info about your cuda setting?

from mars.

flpractioner avatar flpractioner commented on June 12, 2024

CUDA Version 9.0.176
CUDA Patch Version 9.0.176.1
CUDA Patch Version 9.0.176.2
CUDA Patch Version 9.0.176.3
CUDA Patch Version 9.0.176.4

from mars.

qinxuye avatar qinxuye commented on June 12, 2024

I try to run the function on my computer with 2 GPU cards, but no error occurs.

>>> from mars.lib.nvutils import get_device_info
>>> get_device_info(0)
_cu_device_info(index=0, uuid=UUID('096adb53-fc18-1075-1097-5792e93051b7'), name='NVIDIA Graphics Device', multiprocessors=84, cuda_cores=16128, threads=129024)

Could you try this one?

from mars.

flpractioner avatar flpractioner commented on June 12, 2024
>>> from mars.lib.nvutils import get_device_info
>>> get_device_info(0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/***/pkgs/mars-0.10.0/mars/lib/nvutils.py", line 343, in get_device_info
    uuid=uuid.UUID(bytes=uuid_t.bytes),
  File "/****/anaconda3/lib/python3.8/uuid.py", line 180, in __init__
    raise ValueError('bytes is not a 16-char string')
ValueError: bytes is not a 16-char string

from mars.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.