Skip to content

Commit b40e6b6

Browse files
authored
Merge branch 'develop' into api
2 parents c1725f9 + 4850894 commit b40e6b6

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
- id: remove-tabs
2020
types: [text]
2121
- repo: https://github.com/PFCCLab/typos-pre-commit-mirror.git
22-
rev: v1.39.2
22+
rev: v1.40.0
2323
hooks:
2424
- id: typos
2525
args: [--force-exclude]

_typos.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ extend-ignore-words-re = ["^[a-zA-Z]{1,3}$"]
1212
# refer to https://github.com/crate-ci/typos/blob/master/docs/reference.md#example-configurations
1313
extend-ignore-re = [
1414
# Ignore lines by `# typos: disable-line`
15-
"(?Rm)^.*(#|//)\\s*typos:\\s*disable-line$",
15+
"(?Rm)^.*(#|//|<!--)\\s*typos:\\s*disable-line\\s*(?:-->)?$",
1616
# Ignore block by `# typos: off` and `# typos: on`
17-
"(?s)(#|//)\\s*typos:\\s*off.*?\\n\\s*(#|//)\\s*typos:\\s*on"
17+
"(?s)(#|//)\\s*typos:\\s*off.*?\\n\\s*(#|//)\\s*typos:\\s*on",
18+
# Next-line ignore # typos:ignore-next-line
19+
"(#|//|<!--)\\s*typos:ignore-next-line\\s*(?:-->)?\\n.*"
1820
]
1921

2022
[default.extend-words]
@@ -23,10 +25,6 @@ CANN = "CANN"
2325
Clas = "Clas"
2426
arange = "arange"
2527
unsupport = "unsupport"
26-
Nervana = "Nervana"
2728
datas = "datas"
2829
feeded = "feeded"
29-
30-
# These words need to be fixed
31-
softwares = "softwares"
3230
splitted = "splitted"

docs/design/motivation/fluid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,6 @@ Fluid is moving towards the direction of a compiler, which is explain in [fluid_
135135

136136
## Backward Compatibility of Fluid
137137

138-
Given all the advantages from the removal of the concept of a *model*, hardware manufacturers might still prefer the existence of the concept of a model, so it would be easier for them to support multiple frameworks all at once and could run a trained model during inference. For example, Nervana, a startup company acquired by Intel, has been working on an XPU that reads the models in the format known as [n-graph](https://github.com/NervanaSystems/ngraph). Similarly, [Movidius](https://www.movidius.com/) is producing a mobile deep learning chip that reads and runs graphs of operators. The well-known [ONNX](https://github.com/onnx/onnx) is also a file format of graphs of operators.
138+
Given all the advantages from the removal of the concept of a *model*, hardware manufacturers might still prefer the existence of the concept of a model, so it would be easier for them to support multiple frameworks all at once and could run a trained model during inference. For example, Nervana, a startup company acquired by Intel, has been working on an XPU that reads the models in the format known as [n-graph](https://github.com/NervanaSystems/ngraph). Similarly, [Movidius](https://www.movidius.com/) is producing a mobile deep learning chip that reads and runs graphs of operators. The well-known [ONNX](https://github.com/onnx/onnx) is also a file format of graphs of operators. <!-- typos: disable-line -->
139139

140140
For Fluid, we can write a converter that extracts the parts in the `ProgramDesc` protobuf message, converts them into a graph of operators, and exports the graph into the ONNX or n-graph format.

docs/install/pip/windows-pip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
8686
* 请确认需要安装 PaddlePaddle 的 Python 是您预期的位置,因为您计算机可能有多个 Python。根据您的环境您可能需要将说明中所有命令行中的 python 替换为具体的 Python 路径。
8787
88-
* 上述命令默认安装`avx`、`mkl`的包。判断你的机器是否支持`avx`,可以安装[CPU-Z](https://www.cpuid.com/softwares/cpu-z.html)工具查看“处理器-指令集”。飞桨不再支持`noavx`指令集的安装包。
88+
* 上述命令默认安装`avx`、`mkl`的包。判断你的机器是否支持`avx`,可以安装 [CPU-Z](https://www.cpuid.com/softwares/cpu-z.html) 工具查看“处理器-指令集”。飞桨不再支持`noavx`指令集的安装包。
8989
9090
9191
## **三、验证安装**

0 commit comments

Comments
 (0)