-
2023-9-18_11:03:20 |
Beta Was this translation helpful? Give feedback.
Answered by
anh-tong
Sep 18, 2023
Replies: 1 comment 1 reply
-
You can refer to the document here GPU memory allocation and set environment variable as
where |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
andaolong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.