faster inference with cuda/cudnn backends flags
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
from min_dalle import MinDalle
|
||||
import tempfile
|
||||
import torch
|
||||
import torch, torch.backends.cudnn
|
||||
from typing import Iterator
|
||||
from cog import BasePredictor, Path, Input
|
||||
|
||||
torch.backends.cudnn.deterministic = False
|
||||
|
||||
|
||||
class ReplicatePredictor(BasePredictor):
|
||||
def setup(self):
|
||||
|
||||
Reference in New Issue
Block a user