Enderfga commited on
Commit
a6dd565
·
1 Parent(s): 4f29110

fix flash-attn install

Browse files

Former-commit-id: 022a8bccec23de8523ddb3153bfe683ccbe2b73d

Files changed (2) hide show
  1. README.md +1 -0
  2. requirements.txt +4 -3
README.md CHANGED
@@ -103,6 +103,7 @@ For more details, please refer to the [paper](https://arxiv.org/abs/2308.00692).
103
  ## Installation
104
  ```
105
  pip install -r requirements.txt
 
106
  ```
107
 
108
  ## Training
 
103
  ## Installation
104
  ```
105
  pip install -r requirements.txt
106
+ pip install flash-attn --no-build-isolation
107
  ```
108
 
109
  ## Training
requirements.txt CHANGED
@@ -1,6 +1,9 @@
 
 
 
 
1
  einops==0.4.1
2
  fastapi==0.100.1
3
- flash_attn==2.0.4
4
  gradio==3.39.0
5
  markdown2==2.4.10
6
  numpy==1.24.2
@@ -11,8 +14,6 @@ pycocotools==2.0.6
11
  ray==2.6.1
12
  Requests==2.31.0
13
  shortuuid==1.0.11
14
- torch==1.11.0+cu113
15
- torchvision==0.12.0+cu113
16
  tqdm==4.64.1
17
  transformers==4.29.0
18
  uvicorn==0.23.2
 
1
+ --extra-index-url https://download.pytorch.org/whl/cu117
2
+ torch==2.0.1
3
+ torchvision==0.15.2
4
+ packaging
5
  einops==0.4.1
6
  fastapi==0.100.1
 
7
  gradio==3.39.0
8
  markdown2==2.4.10
9
  numpy==1.24.2
 
14
  ray==2.6.1
15
  Requests==2.31.0
16
  shortuuid==1.0.11
 
 
17
  tqdm==4.64.1
18
  transformers==4.29.0
19
  uvicorn==0.23.2