Skip to content

how to set the maximum gpu memory occupied by jax project on a single GPU, #17639

Closed Answered by anh-tong
andaolong asked this question in Q&A
Discussion options

You must be logged in to vote

You can refer to the document here GPU memory allocation and set environment variable as

export XLA_PYTHON_CLIENT_MEM_FRACTION=.XX

where XX is the percentage of GPU you want to use.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andaolong
Comment options

Answer selected by andaolong
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