Skip to content

Commit

Permalink
Move pipelines to the root dir (PaddlePaddle#3012)
Browse files Browse the repository at this point in the history
* Move pipelines to the root dir

* Add missing files
  • Loading branch information
w5688414 authored Aug 10, 2022
1 parent 6b3f40c commit 377ecb2
Show file tree
Hide file tree
Showing 106 changed files with 6 additions and 30 deletions.
23 changes: 0 additions & 23 deletions applications/experimental/pipelines/requirements-cpu.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### 1.1 运行环境和安装说明

a. 依赖安装:
首先需要安装PaddlePaddle,PaddlePaddle的安装请参考文档[官方安装文档](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html),然后安装下面的依赖:
```bash
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
# 1) 安装 pipelines package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ b. 硬件环境:
- Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz

c. 依赖安装:
首先需要安装PaddlePaddle,PaddlePaddle的安装请参考文档[官方安装文档](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html),然后安装下面的依赖:
```bash
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
# 1) 安装 pipelines package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
### 1.1 运行环境和安装说明

a. 依赖安装:
首先需要安装PaddlePaddle,PaddlePaddle的安装请参考文档[官方安装文档](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html),然后安装下面的依赖:
```bash
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
# 1) 安装 pipelines package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ b. 硬件环境:
- Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz

c. 依赖安装:
首先需要安装PaddlePaddle,PaddlePaddle的安装请参考文档[官方安装文档](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html),然后安装下面的依赖:
```bash
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
# 1) 安装 pipelines package
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
paddlepaddle-gpu
paddlenlp
paddleocr
requests
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@

long_description = "PIPELINES: An End to End Natural Language Proceessing Development Kit Based on ERNIE"

if platform.system().lower() == "darwin": # macos
with open("requirements-cpu.txt") as fin:
REQUIRED_PACKAGES = fin.read()
else:
with open("requirements.txt") as fin:
REQUIRED_PACKAGES = fin.read()
with open("requirements.txt") as fin:
REQUIRED_PACKAGES = fin.read()

setuptools.setup(name="pipelines",
version=pipelines.__version__,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 377ecb2

Please sign in to comment.