Skip to content

Commit de794e6

Browse files
committed
remove python wqdependencies
1 parent 144349c commit de794e6

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,14 @@ For more details, please see API document and [examples](examples/README.md).
201201
### Python API(PyTorch)
202202
Firstly, please install the dependencies.
203203
- Python dependencies
204-
```bash
205-
cmake==3.26.1
206-
sentencepiece==0.2.0
207-
torch==2.7.0+cpu
208-
transformers==4.50.0
209-
accelerate==1.5.1
210-
protobuf==5.29.3
211-
tiktoken==0.9.0
204+
```
205+
cmake==3.26.1
206+
sentencepiece==0.2.0
207+
torch==2.7.0+cpu
208+
transformers==4.50.0
209+
accelerate==1.5.1
210+
protobuf==5.29.3
211+
tiktoken==0.9.0
212212
```
213213
***PS: Due to the potential compatibility issues between the model file and the `transformers` version, please select the appropriate `transformers` version.***
214214
- oneCCL (For multi ranks)
@@ -455,4 +455,4 @@ and
455455
***A***: Try downgrading `transformer` to an appropriate version. This is because different versions of Transformer may change the names of certain variables.
456456

457457
- ***Q***: I encountered an error saying that `mkl.h` could not be found during compilation. What should I do?
458-
***A***: Please check if the `onednn` folder under `3rdparty/` is empty. If it is, delete it and rerun CMake. Additionally, if the `3rdparty/mkl/` folder contains only a `local` directory, move all contents from `mkl/local/*` to `mkl/`.
458+
***A***: Please check if the `onednn` folder under `3rdparty/` is empty. If it is, delete it and rerun CMake. Additionally, if the `3rdparty/mkl/` folder contains only a `local` directory, move all contents from `mkl/local/*` to `mkl/`.

README_CN.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,14 @@ xFasterTransformer 支持的模型格式与 Huggingface 有所不同,但与 Fa
201201
### Python API(PyTorch)
202202
首先,请安装依赖项。
203203
- Python 依赖项
204-
```bash
205-
cmake==3.26.1
206-
sentencepiece==0.2.0
207-
torch==2.7.0+cpu
208-
transformers==4.50.0
209-
accelerate==1.5.1
210-
protobuf==5.29.3
211-
tiktoken==0.9.0
204+
```
205+
cmake==3.26.1
206+
sentencepiece==0.2.0
207+
torch==2.7.0+cpu
208+
transformers==4.50.0
209+
accelerate==1.5.1
210+
protobuf==5.29.3
211+
tiktoken==0.9.0
212212
```
213213
***PS: 由于模型文件和 `transformers`版本之间可能存在兼容性问题,请选择适当的 `transformers`版本。***
214214
- oneCCL (用于多进程)

0 commit comments

Comments
 (0)