Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ if device.type == 'cuda':
|
|
| 17 |
print('Allocated:', round(torch.cuda.memory_allocated(0)/1024**3,1), 'GB')
|
| 18 |
print('Cached: ', round(torch.cuda.memory_reserved(0)/1024**3,1), 'GB')
|
| 19 |
|
| 20 |
-
ncf_model.to(device)
|
| 21 |
|
| 22 |
#Load dataset
|
| 23 |
import pandas as pd
|
|
|
|
| 17 |
print('Allocated:', round(torch.cuda.memory_allocated(0)/1024**3,1), 'GB')
|
| 18 |
print('Cached: ', round(torch.cuda.memory_reserved(0)/1024**3,1), 'GB')
|
| 19 |
|
| 20 |
+
#ncf_model.to(device)
|
| 21 |
|
| 22 |
#Load dataset
|
| 23 |
import pandas as pd
|