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

Package compatibility issues #16

Open
HGanFan opened this issue Jan 20, 2025 · 2 comments
Open

Package compatibility issues #16

HGanFan opened this issue Jan 20, 2025 · 2 comments

Comments

@HGanFan
Copy link

HGanFan commented Jan 20, 2025

Hello, it seems that cudf-cu12 is not compatible with merlin-core and merlin-dataloader, even if they are the newest versions (23.8.0). Do you meet this issue before?

Traceback (most recent call last):
File "/scTab/train.py", line 12, in
from cellnet.estimators import EstimatorCellTypeClassifier
File "/scTab/cellnet/estimators.py", line 10, in
from cellnet.datamodules import MerlinDataModule
File "/scTab/cellnet/datamodules.py", line 7, in
import merlin.io
File "/python3.10/site-packages/merlin/io/init.py", line 18, in
from merlin.io import dataframe_iter, dataset, shuffle
File "/python3.10/site-packages/merlin/io/dataset.py", line 47, in
from merlin.io.dask import _ddf_to_dataset, _simple_shuffle
File "/python3.10/site-packages/merlin/io/dask.py", line 31, in
from merlin.io.writer_factory import _writer_cls_factory, writer_factory
File "/python3.10/site-packages/merlin/io/writer_factory.py", line 19, in
from merlin.io.parquet import CPUParquetWriter, GPUParquetWriter
File "/python3.10/site-packages/merlin/io/parquet.py", line 63, in
from merlin.io.fsspec_utils import _optimized_read_partition_remote, _optimized_read_remote
File "/python3.10/site-packages/merlin/io/fsspec_utils.py", line 34, in
from cudf.core.column import as_column, build_categorical_column
ImportError: cannot import name 'build_categorical_column' from 'cudf.core.column'

@felix0097
Copy link
Member

Hi @HGanFan,

I think merlin 23.08 might only support cudf-cu11. I would recommend you to use the Merlin docker container, Merlin is already preinstalled there.

Otherwise, an option might be to try merlin 23.12 instead of 23.08. This should work as well, haven't tested it myself though.

@HGanFan
Copy link
Author

HGanFan commented Jan 21, 2025

thanks for response. but I cannot find the merlin 23.12, can you tell me the address?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants