Bo-Kyeong Kim commited on
Commit
3fa2188
1 Parent(s): 3b82b20

change device

Browse files
Files changed (1) hide show
  1. demo.py +2 -2
demo.py CHANGED
@@ -7,8 +7,8 @@ import time
7
  ORIGINAL_CHECKPOINT_ID = "CompVis/stable-diffusion-v1-4"
8
  COMPRESSED_UNET_PATH = "checkpoints/BK-SDM-Small_iter50000"
9
 
10
- # DEVICE='cuda'
11
- DEVICE='cpu'
12
 
13
  class SdmCompressionDemo:
14
  def __init__(self, device) -> None:
 
7
  ORIGINAL_CHECKPOINT_ID = "CompVis/stable-diffusion-v1-4"
8
  COMPRESSED_UNET_PATH = "checkpoints/BK-SDM-Small_iter50000"
9
 
10
+ DEVICE='cuda'
11
+ # DEVICE='cpu'
12
 
13
  class SdmCompressionDemo:
14
  def __init__(self, device) -> None: