rapidsai/cudf
Ver no GitHub[FEA] `cudf.read_text` does not use the GDS-enabled datasource
Open
#13.880 aberto em 14 de ago. de 2023
PerformancePythoncuIOfeature requestgood first issuelibcudf
Métricas do repositório
- Stars
- (6.000 stars)
- Métricas de merge de PR
- (Mesclagem média 17d 21h) (230 fundiu PRs em 30d)
Description
libcudf's multibyte_split has multiple ways to specify input data source when reading from a file:
-
auto const source = cudf::io::text::make_source_from_file(temp_file_name); // no GDS -
auto const datasource = cudf::io::datasource::create(temp_file_name);auto const source = cudf::io::text::make_source(*datasource); // supports GDS
cudf.read_text uses the first option to create the data_chunk_source object, so it does not benefit from potential direct reads with GDS.
cudf.read_text should create a cudf::io::datasource object to improve performance on GDS-enabled systems.