Comments (12)
Could you provide the full traceback details?
from mars.
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.
Which Mars version did you use?
from mars.
0.9.0a1
from mars.
0.9.0a1
Can you try the latest version?
from mars.
yes, actually the older version 0.6.1 was used, but have to upgrade to the newer version and encountered such errors...
from mars.
Latest version v0.10.0 may address your issue, could you try it please?
from mars.
I just tried, the latest version v0.10.0 doesn't work as well.
from mars.
Looks like sth went wrong when getting info from cuda device, can you give more info about your cuda setting?
from mars.
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.
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.
>>> 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)
- [BUG] Support for higher versions of python HOT 3
- [BUG] md.read_ray_dataset is not compatible with latest Ray
- [BUG] mars.tensor.int is not compatible with numpy since v1.24
- [BUG] Creating an ndarray from ragged nested sequences is deprecated since numpy 1.24
- [BUG] throw `AttributeError` when using mars tensor with `gpu=True` on colab HOT 2
- [BUG] throw a `No NVIDIA GPU detected` warning or a similar error when deploying Mars on Ray
- [BUG] Apply Function get HTTP Error HOT 6
- [CI] Pandas 2.0.0 will break down Mars CI
- Want some examples of custom apply function
- [GRAPH][ENHANCEMENT] Optimize `SubtakGraph` generation
- [BUG] `test_ray_client` run failed
- [BUG]How to set the ip address in the cluster mode HOT 3
- [BUG] lightgbm TypeError: a bytes-like object is required, not 'list'
- [BUG][Ray] LightGBMError: Machine list file doesn't contain the local machine
- A more universal function to replace subgraph in OptimizationRule
- [BUG] Series doesn't support attribute access
- [BUG] Series with multi index accessing data by index error
- [PERF] Performance issue in pandas 1.3.4's read_csv Function with Large Column CSV Files
- [BUG]Build fails under Windows platform HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mars.