Giter VIP home page Giter VIP logo

Comments (3)

henriqueccapozzi avatar henriqueccapozzi commented on May 19, 2024 1

Nice question @tytung2020

Giving my cents on this topic,

The function that loads the database get all the data from all the found tables and put it into memory, so you'll likely need to have as much RAM as the data you want with some added value that I can't tell how big I'll need to be

references

cursor.execute(f"SELECT * FROM {table_name[0]};")

MemGPT/memgpt/utils.py

Lines 280 to 282 in 849782d

for row in rows:
data_row = "\t".join(map(str, row))
result_list.append(data_row)

from memgpt.

cpacker avatar cpacker commented on May 19, 2024

MemGPT has access to data you give it in databases. When it wants to read the contents of this data, it has to page it in via function calls. These function calls are paginated (in the functions we give provide in this repo), so data gets pulled into LLM context in chunks.

from memgpt.

kyleboddy avatar kyleboddy commented on May 19, 2024

I found this answer and the documentation a bit unclear - say my DB dump file is 1 TB. Is that too large / ineffective at its size? 200 GB? 500 GB? Does it depend on how much computer RAM is available? GPU VRAM?

from memgpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.