Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
8ce373e
1
Parent(s):
e519ed0
main.py
CHANGED
|
@@ -131,6 +131,7 @@ def prepare_model_inputs(
|
|
| 131 |
print ('DEBUG MODE_2, REMOVING HIDDEN STATES')
|
| 132 |
if 'hidden_states' in inputs:
|
| 133 |
del inputs['hidden_states']
|
|
|
|
| 134 |
return inputs
|
| 135 |
|
| 136 |
@torch.no_grad()
|
|
|
|
| 131 |
print ('DEBUG MODE_2, REMOVING HIDDEN STATES')
|
| 132 |
if 'hidden_states' in inputs:
|
| 133 |
del inputs['hidden_states']
|
| 134 |
+
print (f'Time step: {time_step}')
|
| 135 |
return inputs
|
| 136 |
|
| 137 |
@torch.no_grad()
|