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

Running out of memory when loading pre-trained embeddings #114

Open
mortenterhart opened this issue Jan 5, 2024 · 1 comment
Open

Running out of memory when loading pre-trained embeddings #114

mortenterhart opened this issue Jan 5, 2024 · 1 comment

Comments

@mortenterhart
Copy link

I'm running a laptop with an RTX 3070 GPU, an AMD Ryzen 9 5900HX processor and 16 GB RAM on Linux Mint. When trying to load the transe_wikidata5m.pkl model as following

with open('./transe_wikidata5m.pkl', 'rb') as embeddings_file:
    transe_embedding = pickle.load(embeddings_file)

I'm running out of memory and the process gets killed by the OS after some freezing time. I don't have access to another machine at the moment. Is there any alternative way of loading the model or are there smaller versions available?

I would be grateful for any help.

@zhangxy22
Copy link

/transe_wikidata5m.pkl Where does a similar pkl file like fb15k_237 load

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