Spaces:
Runtime error
Runtime error
改回使用cuda
Browse filesdevice = torch.device('cuda')
app.py
CHANGED
@@ -98,7 +98,7 @@ infer_config = config.infer_config
|
|
98 |
|
99 |
IS_FLEXICUBES = True if config_name.startswith('instant-mesh') else False
|
100 |
|
101 |
-
device = torch.device(
|
102 |
|
103 |
# load diffusion model
|
104 |
print('Loading diffusion model ...')
|
|
|
98 |
|
99 |
IS_FLEXICUBES = True if config_name.startswith('instant-mesh') else False
|
100 |
|
101 |
+
device = torch.device('cuda')
|
102 |
|
103 |
# load diffusion model
|
104 |
print('Loading diffusion model ...')
|