Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

How to reduce memory usage of ESM2-650 #681

Answered by yamule
ylzdmm asked this question in Q&A
Discussion options

You must be logged in to vote

Just change this line
results = model(batch_tokens, repr_layers=[33], return_contacts=True)
as follows.
results = model(batch_tokens, repr_layers=[33], return_contacts=False)

& check that the results are as you expected.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ylzdmm
Comment options

@yamule
Comment options

Answer selected by ylzdmm
@ylzdmm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants