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

test if ProofCollection can run with 8Gb, set TVM_LDE_TRACE env var. #269

Open
dan-da opened this issue Nov 27, 2024 · 0 comments
Open

test if ProofCollection can run with 8Gb, set TVM_LDE_TRACE env var. #269

dan-da opened this issue Nov 27, 2024 · 0 comments
Assignees

Comments

@dan-da
Copy link
Collaborator

dan-da commented Nov 27, 2024

If ProofCollection proving can run with just 8Gb ram then we should lower the min requirement (currently 16Gb) to 8Gb in CliArgs::estimate_proving_requirements(). That enables more people to run nodes that can initiate tx. Particularly on lower end laptops and VPS.

TVM_LDE_TRACE="no_cache" should be on by default for ProofCollection jobs. (And off by default for SingleProof jobs.)

It is an env variable that can be set before invoking the triton-vm-prove process. If it is not set, the (faster) memory-greedy code path is taken. If not set, it is memory-frugal but slower.

enhancement: It could possibly be turned into a neptune-core cli flag as well, and pass that option to the proving job.

@dan-da dan-da self-assigned this Nov 27, 2024
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