Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,14 @@ For more details, please see API document and [examples](examples/README.md).
### Python API(PyTorch)
Firstly, please install the dependencies.
- Python dependencies
```bash
cmake==3.26.1
sentencepiece==0.2.0
torch==2.7.0+cpu
transformers==4.50.0
accelerate==1.5.1
protobuf==5.29.3
tiktoken==0.9.0
```
cmake==3.26.1
sentencepiece==0.2.0
torch==2.7.0+cpu
transformers==4.50.0
accelerate==1.5.1
protobuf==5.29.3
tiktoken==0.9.0
```
***PS: Due to the potential compatibility issues between the model file and the `transformers` version, please select the appropriate `transformers` version.***
- oneCCL (For multi ranks)
Expand Down Expand Up @@ -455,4 +455,4 @@ and
***A***: Try downgrading `transformer` to an appropriate version. This is because different versions of Transformer may change the names of certain variables.

- ***Q***: I encountered an error saying that `mkl.h` could not be found during compilation. What should I do?
***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/`.
***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/`.
16 changes: 8 additions & 8 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,14 @@ xFasterTransformer 支持的模型格式与 Huggingface 有所不同,但与 Fa
### Python API(PyTorch)
首先,请安装依赖项。
- Python 依赖项
```bash
cmake==3.26.1
sentencepiece==0.2.0
torch==2.7.0+cpu
transformers==4.50.0
accelerate==1.5.1
protobuf==5.29.3
tiktoken==0.9.0
```
cmake==3.26.1
sentencepiece==0.2.0
torch==2.7.0+cpu
transformers==4.50.0
accelerate==1.5.1
protobuf==5.29.3
tiktoken==0.9.0
```
***PS: 由于模型文件和 `transformers`版本之间可能存在兼容性问题,请选择适当的 `transformers`版本。***
- oneCCL (用于多进程)
Expand Down
Loading