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

scripts: add allocate_vram script #6617

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

psychedelicious
Copy link
Collaborator

Summary

Allocates the specified amount of VRAM, or allocates enough VRAM such that you have the specified amount of VRAM free.

Useful to simulate an environment with a specific amount of VRAM.

Related Issues / Discussions

Wrote to help troubleshoot #6613

QA Instructions

Try it out if you like. It works fine for me on linux.

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

Copy link
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Allocates the specified amount of VRAM, or allocates enough VRAM such that you have the specified amount of VRAM free.

Useful to simulate an environment with a specific amount of VRAM.
@psychedelicious psychedelicious enabled auto-merge (rebase) September 2, 2024 08:17
@psychedelicious psychedelicious merged commit 8185ba7 into main Sep 2, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/scripts/allocate-vram branch September 2, 2024 08:18
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

Successfully merging this pull request may close these issues.

3 participants