lopho commited on
Commit
c5cf3aa
1 Parent(s): 6fbe487

print xla env vars

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -9,6 +9,8 @@ import gradio as gr
9
 
10
  from makeavid_sd.inference import InferenceUNetPseudo3D, FlaxDPMSolverMultistepScheduler, jnp
11
 
 
 
12
 
13
  _preheat: bool = False
14
 
@@ -226,7 +228,7 @@ with gr.Blocks(title = 'Make-A-Video Stable Diffusion JAX', analytics_enabled =
226
  value = 12
227
  )
228
  with gr.Column(variant = variant):
229
- no_gpu = gr.Markdown('**Until a GPU is assigned expect extremely long runtimes up to 1h+**')
230
  will_trigger = gr.Markdown('')
231
  patience = gr.Markdown('')
232
  image_output = gr.Image(
 
9
 
10
  from makeavid_sd.inference import InferenceUNetPseudo3D, FlaxDPMSolverMultistepScheduler, jnp
11
 
12
+ print(os.environ.get('XLA_PYTHON_CLIENT_PREALLOCATE', 'NotSet'))
13
+ print(os.environ.get('XLA_PYTHON_CLIENT_ALLOCATOR', 'NotSet'))
14
 
15
  _preheat: bool = False
16
 
 
228
  value = 12
229
  )
230
  with gr.Column(variant = variant):
231
+ #no_gpu = gr.Markdown('**Until a GPU is assigned expect extremely long runtimes up to 1h+**')
232
  will_trigger = gr.Markdown('')
233
  patience = gr.Markdown('')
234
  image_output = gr.Image(