Spaces:
Sleeping
Sleeping
Commit
·
2dbb672
1
Parent(s):
bcbb1c9
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ tokenizer = BloomTokenizerFast.from_pretrained(path)
|
|
9 |
model = BloomForCausalLM.from_pretrained(path)
|
10 |
model.eval()
|
11 |
|
12 |
-
import intel_extension_for_pytorch as ipex
|
13 |
-
model = ipex.optimize(model)
|
14 |
|
15 |
|
16 |
def generate(text):
|
|
|
9 |
model = BloomForCausalLM.from_pretrained(path)
|
10 |
model.eval()
|
11 |
|
12 |
+
#import intel_extension_for_pytorch as ipex
|
13 |
+
#model = ipex.optimize(model)
|
14 |
|
15 |
|
16 |
def generate(text):
|