You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pulled the latest code of main branch to run again and the bug still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。
I have read the README carefully and no error occurred during the installation process. (Otherwise, we recommend that you can ask a question using the Question template) 我已经仔细阅读了 README 上的操作指引,并且在安装过程中没有错误发生。(否则,我们建议您使用Question模板向我们进行提问)
Search before reporting 先搜索,再报告
I have searched the Data-Juicer issues and found no similar bugs. 我已经在 issue列表 中搜索但是没有发现类似的bug报告。
OS 系统
Ubuntu
Installation Method 安装方式
Official image: FROM datajuicer/data-juicer:v1.0.3
Data-Juicer Version Data-Juicer版本
1.0.3
Python Version Python版本
3.10.12
Describe the bug 描述这个bug
与Ray 2.40.0不兼容。
To Reproduce 如何复现
在本机启动ray start --head,启动任何一个任务,都会在运行中保错:
2025-01-10 08:26:02 | ERROR | main:33 - An error has been caught in function '', process 'MainProcess' (135719), thread 'MainThread' (139973282997376):
Traceback (most recent call last):
File "/usr/local/bin/dj-process", line 33, in
sys.exit(load_entry_point('py-data-juicer', 'console_scripts', 'dj-process')())
│ │ └ <function importlib_load_entry_point at 0x7f4e11c03d90>
│ └
└ <module 'sys' (built-in)>
File "/data-juicer/tools/process_data.py", line 13, in main
from data_juicer.core.ray_executor import RayExecutor
File "/data-juicer/data_juicer/core/ray_executor.py", line 8, in
from data_juicer.core.ray_data import RayDataset
File "/data-juicer/data_juicer/core/ray_data.py", line 197, in
class JSONStreamDatasource(ds.JSONDatasource):
└ <module 'ray.data.datasource' from '/usr/local/lib/python3.10/dist-packages/ray/data/datasource/init.py'>
File "/data-juicer/data_juicer/utils/lazy_loader.py", line 65, in getattr
return getattr(module, item)
│ └ 'JSONDatasource'
└ <module 'ray.data.datasource' from '/usr/local/lib/python3.10/dist-packages/ray/data/datasource/init.py'>
AttributeError: module 'ray.data.datasource' has no attribute 'JSONDatasource'. Did you mean: 'Datasource'?
Traceback (most recent call last):
File "/usr/local/bin/dj-process", line 33, in
sys.exit(load_entry_point('py-data-juicer', 'console_scripts', 'dj-process')())
File "/usr/local/lib/python3.10/dist-packages/loguru/_logger.py", line 1297, in catch_wrapper
return function(*args, **kwargs)
File "/data-juicer/tools/process_data.py", line 13, in main
from data_juicer.core.ray_executor import RayExecutor
File "/data-juicer/data_juicer/core/ray_executor.py", line 8, in
from data_juicer.core.ray_data import RayDataset
File "/data-juicer/data_juicer/core/ray_data.py", line 197, in
class JSONStreamDatasource(ds.JSONDatasource):
File "/data-juicer/data_juicer/utils/lazy_loader.py", line 65, in getattr
return getattr(module, item)
AttributeError: module 'ray.data.datasource' has no attribute 'JSONDatasource'. Did you mean: 'Datasource'?
把文件:
/data-juicer/data_juicer/core/ray_data.py 第210行从:
class JSONStreamDatasource(ds.JSONDatasource):
改为:
class JSONStreamDatasource(ds.Datasource):
问题解决。
Configs 配置信息
No response
Logs 报错日志
No response
Screenshots 截图
No response
Additional 额外信息
No response
The text was updated successfully, but these errors were encountered:
Before Reporting 报告之前
I have pulled the latest code of main branch to run again and the bug still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。
I have read the README carefully and no error occurred during the installation process. (Otherwise, we recommend that you can ask a question using the Question template) 我已经仔细阅读了 README 上的操作指引,并且在安装过程中没有错误发生。(否则,我们建议您使用Question模板向我们进行提问)
Search before reporting 先搜索,再报告
OS 系统
Ubuntu
Installation Method 安装方式
Official image: FROM datajuicer/data-juicer:v1.0.3
Data-Juicer Version Data-Juicer版本
1.0.3
Python Version Python版本
3.10.12
Describe the bug 描述这个bug
与Ray 2.40.0不兼容。
To Reproduce 如何复现
在本机启动ray start --head,启动任何一个任务,都会在运行中保错:
2025-01-10 08:26:02 | ERROR | main:33 - An error has been caught in function '', process 'MainProcess' (135719), thread 'MainThread' (139973282997376):
Traceback (most recent call last):
File "/data-juicer/tools/process_data.py", line 13, in main
from data_juicer.core.ray_executor import RayExecutor
File "/data-juicer/data_juicer/core/ray_executor.py", line 8, in
from data_juicer.core.ray_data import RayDataset
File "/data-juicer/data_juicer/core/ray_data.py", line 197, in
class JSONStreamDatasource(ds.JSONDatasource):
└ <module 'ray.data.datasource' from '/usr/local/lib/python3.10/dist-packages/ray/data/datasource/init.py'>
File "/data-juicer/data_juicer/utils/lazy_loader.py", line 65, in getattr
return getattr(module, item)
│ └ 'JSONDatasource'
└ <module 'ray.data.datasource' from '/usr/local/lib/python3.10/dist-packages/ray/data/datasource/init.py'>
AttributeError: module 'ray.data.datasource' has no attribute 'JSONDatasource'. Did you mean: 'Datasource'?
Traceback (most recent call last):
File "/usr/local/bin/dj-process", line 33, in
sys.exit(load_entry_point('py-data-juicer', 'console_scripts', 'dj-process')())
File "/usr/local/lib/python3.10/dist-packages/loguru/_logger.py", line 1297, in catch_wrapper
return function(*args, **kwargs)
File "/data-juicer/tools/process_data.py", line 13, in main
from data_juicer.core.ray_executor import RayExecutor
File "/data-juicer/data_juicer/core/ray_executor.py", line 8, in
from data_juicer.core.ray_data import RayDataset
File "/data-juicer/data_juicer/core/ray_data.py", line 197, in
class JSONStreamDatasource(ds.JSONDatasource):
File "/data-juicer/data_juicer/utils/lazy_loader.py", line 65, in getattr
return getattr(module, item)
AttributeError: module 'ray.data.datasource' has no attribute 'JSONDatasource'. Did you mean: 'Datasource'?
把文件:
/data-juicer/data_juicer/core/ray_data.py 第210行从:
class JSONStreamDatasource(ds.JSONDatasource):
改为:
class JSONStreamDatasource(ds.Datasource):
问题解决。
Configs 配置信息
No response
Logs 报错日志
No response
Screenshots 截图
No response
Additional 额外信息
No response
The text was updated successfully, but these errors were encountered: