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

Generated application - how do I break up the loading #497

Open
kehh opened this issue Jan 30, 2025 · 0 comments
Open

Generated application - how do I break up the loading #497

kehh opened this issue Jan 30, 2025 · 0 comments

Comments

@kehh
Copy link

kehh commented Jan 30, 2025

I'm finding that the ingestion pipeline is not able to deal with very large amounts of data as it appears to load all of the documents in memory before persisting them in a storage context. Is there a way to partition documents by loader or something similar so that we don't clear out all documents when we run a single loader. I'm specifically looking at the code in https://github.com/run-llama/create-llama/blob/main/templates/types/streaming/fastapi/app/engine/generate.py#L78

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

1 participant