Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ class model:
|
|
| 37 |
|
| 38 |
# Instantiate model from config and move to device
|
| 39 |
self.model = instantiate_from_config(config.model).to(device)
|
| 40 |
-
self.model = torch.compile(self.model,mode='
|
| 41 |
|
| 42 |
os.chdir(base_path)
|
| 43 |
|
|
|
|
| 37 |
|
| 38 |
# Instantiate model from config and move to device
|
| 39 |
self.model = instantiate_from_config(config.model).to(device)
|
| 40 |
+
self.model = torch.compile(self.model,mode='max-autotune')
|
| 41 |
|
| 42 |
os.chdir(base_path)
|
| 43 |
|