Spaces:
dreroc
/
Running on Zero

yichenchenchen commited on
Commit
eed8484
·
verified ·
1 Parent(s): d689bf2

Update inferencer.py

Browse files
Files changed (1) hide show
  1. inferencer.py +1 -0
inferencer.py CHANGED
@@ -82,6 +82,7 @@ class Inferencer:
82
  self.cfg_prompt = cfg_prompt
83
  self.model = self.init_model()
84
 
 
85
  def init_model(self):
86
  # config = Config.fromfile(self.config_file)
87
  # model = BUILDER.build(config.model)
 
82
  self.cfg_prompt = cfg_prompt
83
  self.model = self.init_model()
84
 
85
+ @spaces.GPU
86
  def init_model(self):
87
  # config = Config.fromfile(self.config_file)
88
  # model = BUILDER.build(config.model)