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

[ENH] enable large data use cases - decouple data input from pandas, allow polars, dask, and/or spark #1685

Open
fkiraly opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@fkiraly
Copy link
Collaborator

fkiraly commented Sep 23, 2024

A key limitation of current architecture seems to be the reliance on pandas of the input, which limites useability in large data cases.

While torch with appropriate backends should be able to handle large data, pandas as a container choice, in particular the current instantiation which seems to rely on in-memory, will prove to be the bottleneck.

We should therefore consider and implement support for data backends that scale better, such as polars, dask, or spark, and see how easy it is to get the pandas pyarrow integration to work.

Architecturally, I think we should:

  • build a more abstract data loader layer
  • make pandas one of multiple potential data soft dependencies
  • try to prioritize the solution that would provide us with the quickest "impact for time invested"

The key entry point for this extension or refactor is TimeSeriesDataSet, which requires pandas objects to be passed.

@fkiraly fkiraly added the enhancement New feature or request label Sep 23, 2024
@fkiraly fkiraly changed the title [ENH] decouple data input form pandas, allow polars, dask, and/or spark [ENH] enable large data use cases - decouple data input form pandas, allow polars, dask, and/or spark Sep 23, 2024
@fkiraly fkiraly changed the title [ENH] enable large data use cases - decouple data input form pandas, allow polars, dask, and/or spark [ENH] enable large data use cases - decouple data input from pandas, allow polars, dask, and/or spark Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant