Set TF_FORCE_GPU_ALLOW_GROWTH=true by default#712
Set TF_FORCE_GPU_ALLOW_GROWTH=true by default#712samos123 wants to merge 2 commits intoapple:mainfrom
Conversation
This is needed to be able to run Fuji v2 70B on GPU without GPU memory OOMs.
kelvin-zou
left a comment
There was a problem hiding this comment.
Thanks!
Can we move it to somewhere since it is GPU specific? This launch cmd is shared across GPU and TPU.
|
Hmm but we also set a lot of TPU environment variables in launch.py without any if statements. I don't think there is a better place since it needs to happen before jax is started? Would you prefer this? |
|
Hi @samos123 is this PR still relevant? |
|
This pull request has been automatically marked as stale because it has been inactive for 60 days. It will be closed in 7 days if no further activity occurs. If you would like to continue working on this, please remove the |
|
This pull request was closed because it has been inactive for more than 7 days since being marked as stale. Please feel free to reopen it if you would like to continue. |
This is needed to be able to run Fuji v2 70B on GPU without GPU memory OOMs.
@kelvin-zou can likely confirm whether this should be the default or not.