Comments (7)
没有下载全,submodule的代码都没有
git clone XXXX --recursive
from turbotransformers.
没有下载全,submodule的代码都没有
git clone XXXX --recursive
确认了一下,submodule都在。
total 24
drwxr-xr-x 9 root root 164 May 11 06:45 ./
drwxr-xr-x 13 root root 4096 May 12 08:06 ../
-rw-r--r-- 1 root root 2847 May 11 06:45 CMakeLists.txt
drwxr-xr-x 15 root root 4096 May 11 06:48 Catch2/
drwxr-xr-x 8 root root 211 May 11 06:48 FP16/
drwxr-xr-x 5 root root 300 May 11 06:48 abseil/
drwxr-xr-x 8 root root 252 May 11 06:51 cub/
drwxr-xr-x 8 root root 220 May 11 06:51 dlpack/
-rw-r--r-- 1 root root 1513 May 11 06:45 eigen.cmake
drwxr-xr-x 8 root root 248 May 11 06:51 loguru/
-rw-r--r-- 1 root root 1526 May 11 06:45 openblas.cmake
drwxr-xr-x 7 root root 4096 May 11 06:51 pybind11/
from turbotransformers.
麻烦确认里面的内容也都在,比如
cat dlpack/include/dlpack/dlpack.h
或者执行一下
git submodule update
from turbotransformers.
麻烦确认里面的内容也都在,比如
cat dlpack/include/dlpack/dlpack.h
或者执行一下
git submodule update
确定都在。感觉example/cpp下的CMakeLists.txt,好像有些问题,没有把一些头文件目录包含进去。
from turbotransformers.
哦,发现你编译方法不对,你按照readme编译,example的二进制会被顺带编译出来了,不要自己到cpp/example里面搞,那样没有include到3rd的文件。
如果你想在其他项目里用turbo,可以使用add_subdirectory方式,我们过一段时间会提供一个serving例子
from turbotransformers.
哦,发现你编译方法不对,你按照readme编译,example的二进制会被顺带编译出来了,不要自己到cpp/example里面搞,那样没有include到3rd的文件。
如果你想在其他项目里用turbo,可以使用add_subdirectory方式,我们过一段时间会提供一个serving例子
恩 明白了。我在TurboTransformers主目录里,编译就行了。可以把bert_model_example顺便编译出来。
多谢。
from turbotransformers.
Happy turboing.
The issue is solved and I closed it.
from turbotransformers.
Related Issues (20)
- core::Tensor 处理 HOT 1
- 支持自己搭建的Transformer吗? HOT 1
- 请问怎么用tensorflow加载bert呢? HOT 1
- 多卡上会有问题?
- 支持大模型的推理吗 HOT 4
- Transformers版本不一致 HOT 5
- unitest失败 HOT 4
- Getting the same output logits regardless of input tensors HOT 14
- 想问下turbo支持huggingface的bart模型么 HOT 4
- RuntimeError: code is not compiled with CUDA. HOT 3
- MultiHeadedAttention与onmt结果不对应 HOT 1
- Is it easier to implement other model? conformer
- 如何在c++里使用profiler?
- 支持bert的变种吗? HOT 1
- Commercial Support? HOT 2
- Stable version HOT 4
- gpt2推理结果不正确 HOT 4
- C++的build问题 HOT 1
- arm cpu的支持情况。
- Support for ViT and Swin transformer ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turbotransformers.