dwb2023 commited on
Commit
cdf4c44
·
verified ·
1 Parent(s): 1d85ed8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -11,13 +11,6 @@ from transformers import (
11
  TextIteratorStreamer,
12
  LlamaTokenizer,
13
  )
14
- import subprocess
15
-
16
- subprocess.run(
17
- "pip install flash-attn --no-build-isolation",
18
- env={"FLASH_ATTENTION_SKIP_CUDA_BUILD": "TRUE"},
19
- shell=True,
20
- )
21
 
22
  MAX_MAX_NEW_TOKENS = 1024
23
  DEFAULT_MAX_NEW_TOKENS = 50
 
11
  TextIteratorStreamer,
12
  LlamaTokenizer,
13
  )
 
 
 
 
 
 
 
14
 
15
  MAX_MAX_NEW_TOKENS = 1024
16
  DEFAULT_MAX_NEW_TOKENS = 50