jingyangcarl commited on
Commit
75cdf8c
·
1 Parent(s): e51b78e

debug zerogpu

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -109,7 +109,7 @@ class Model:
109
  return additional_prompt if not prompt else f"{prompt}, {additional_prompt}"
110
 
111
  @spaces.GPU #[uncomment to use ZeroGPU]
112
- # @torch.autocast("cuda")
113
  def run_pipe(
114
  self,
115
  prompt: str,
 
109
  return additional_prompt if not prompt else f"{prompt}, {additional_prompt}"
110
 
111
  @spaces.GPU #[uncomment to use ZeroGPU]
112
+ @torch.autocast("cuda")
113
  def run_pipe(
114
  self,
115
  prompt: str,