Skip to content

Commit a5f9c06

Browse files
committed
fix docs
1 parent 6ca7af4 commit a5f9c06

File tree

7 files changed

+44
-16
lines changed

7 files changed

+44
-16
lines changed

docs/installation/deltann_compile.md renamed to docs/development/deltann_compile.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# DELTA-NN compile
32

43
Deltann support tensorflow, tensorflow lite,and tensorflow serving.
@@ -239,3 +238,25 @@ bazel build //tensorflow_serving/model_servers:tensorflow_model_server
239238
```
240239
cd delta/deltann && ./build.sh linux x86_64 tfserving
241240
```
241+
242+
## Build in docker, using on bare metal
243+
244+
When link with `libx_ops.so`, `libdeltann.so` and `libtensorflow_cc.so`, `libtensorflow_framework.so`,
245+
mabe has problems as below:
246+
247+
```
248+
/lib/deltann/lib/tensorflow/libtensorflow_cc.so: undefined reference to `std::_V2::error_category::equivalent(std::error_code const&, int) const@GLIBCXX_3.4.21'
249+
./lib/deltann/lib/tensorflow/libtensorflow_cc.so: undefined reference to `std::random_device::_M_init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
250+
./lib/deltann/lib/deltann/libdeltann.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)@GLIBCXX_3.4.21'
251+
./lib/deltann/lib/deltann/libdeltann.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data() const@GLIBCXX_3.4.21'
252+
./lib/deltann/lib/deltann/libdeltann.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
253+
./lib/deltann/lib/custom_ops/libx_ops.so: undefined reference to `std::out_of_range::out_of_range(char const*)@GLIBCXX_3.4.21'
254+
./lib/deltann/lib/custom_ops/libx_ops.so: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
255+
...
256+
./lib/deltann/lib/custom_ops/libx_ops.so: undefined reference to `powf@GLIBC_2.27'
257+
./lib/deltann/lib/tensorflow/libtensorflow_cc.so: undefined reference to `expf@GLIBC_2.27'
258+
./lib/deltann/lib/tensorflow/libtensorflow_cc.so: undefined reference to `lgammaf@GLIBC_2.23'
259+
./lib/deltann/lib/custom_ops/libx_ops.so: undefined reference to `logf@GLIBC_2.27'
260+
./lib/deltann/lib/tensorflow/libtensorflow_cc.so: undefined reference to `lgamma@GLIBC_2.23'
261+
```
262+
You need copy `libstd++.so.xx` and `libc.so.xx` from docker, and link with these.

docs/development/docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Docker
1+
# Develop with Docker
22

33
## Install Docker
44

docs/index.rst

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Welcome to DELTA's documentation!
2222
installation/install_from_source
2323
installation/using_docker
2424
installation/manual_setup
25-
installation/deltann_compile
2625
installation/install_on_macos
2726

2827

@@ -37,7 +36,6 @@ Welcome to DELTA's documentation!
3736
tutorials/training/text_class_source_example
3837
tutorials/training/data/asr_example
3938
tutorials/training/data/emotion-speech-cls
40-
tutorials/training/data/kws-cls
4139
tutorials/deployment/dpl
4240
tutorials/deployment/deltann
4341

@@ -47,6 +45,7 @@ Welcome to DELTA's documentation!
4745
:name: sec-devel
4846

4947
development/docker
48+
development/deltann_compile
5049
development/adding_op
5150
development/serving
5251
development/tensorrt
@@ -86,12 +85,3 @@ Welcome to DELTA's documentation!
8685
:name: sec-ver
8786

8887
version
89-
90-
91-
92-
Indices and tables
93-
==================
94-
95-
* :ref:`genindex`
96-
* :ref:`modindex`
97-
* :ref:`search`

docs/introduction.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,20 @@ It helps you to train, develop, and deploy NLP and/or speech models, featuring:
2323
- Easy-to-develop
2424
- Easily build state-of-the-art models using modularized components
2525
- All modules are reliable and fully-tested
26+
27+
## References
28+
29+
Please cite this [paper](https://arxiv.org/abs/1908.01853) when referencing DELTA.
30+
```bibtex
31+
@ARTICLE{delta,
32+
author = {{Han}, Kun and {Chen}, Junwen and {Zhang}, Hui and {Xu}, Haiyang and
33+
{Peng}, Yiping and {Wang}, Yun and {Ding}, Ning and {Deng}, Hui and
34+
{Gao}, Yonghu and {Guo}, Tingwei and {Zhang}, Yi and {He}, Yahao and
35+
{Ma}, Baochang and {Zhou}, Yulong and {Zhang}, Kangli and {Liu}, Chao and
36+
{Lyu}, Ying and {Wang}, Chenxi and {Gong}, Cheng and {Wang}, Yunbo and
37+
{Zou}, Wei and {Song}, Hui and {Li}, Xiangang},
38+
title = "{DELTA: A DEep learning based Language Technology plAtform}",
39+
journal = {arXiv e-prints},
40+
year = "2019",
41+
url = {https://arxiv.org/abs/1908.01853},
42+
}

docs/tutorials/deployment/deltann.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DELTA-NN
1+
# DELTA-NN architecture
22

33
1. features
44
1. compile

docs/tutorials/deployment/dpl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# dpl
1+
# Deployment scripts - dpl
22
The `dpl` directory is for orginating model `config`, `convert`, `testing`, `benchmarking` and `serving`.
33

44
## Inputs & Outputs

docs/tutorials/training/egs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Egs
1+
# Reproduce experiments - egs
22

33
The `egs` director is data-oriented for `data prepration` and model `training`, `evaluation` and `infering`.
44

0 commit comments

Comments
 (0)