Giter Club home page Giter Club logo

Comments (7)

feifeibear avatar feifeibear commented on May 10, 2024

没有下载全,submodule的代码都没有
git clone XXXX --recursive

from turbotransformers.

ShenYounger avatar ShenYounger commented on May 10, 2024

没有下载全,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.

feifeibear avatar feifeibear commented on May 10, 2024

麻烦确认里面的内容也都在,比如
cat dlpack/include/dlpack/dlpack.h
或者执行一下
git submodule update

from turbotransformers.

ShenYounger avatar ShenYounger commented on May 10, 2024

麻烦确认里面的内容也都在,比如
cat dlpack/include/dlpack/dlpack.h
或者执行一下
git submodule update

确定都在。感觉example/cpp下的CMakeLists.txt,好像有些问题,没有把一些头文件目录包含进去。

from turbotransformers.

feifeibear avatar feifeibear commented on May 10, 2024

哦,发现你编译方法不对,你按照readme编译,example的二进制会被顺带编译出来了,不要自己到cpp/example里面搞,那样没有include到3rd的文件。
如果你想在其他项目里用turbo,可以使用add_subdirectory方式,我们过一段时间会提供一个serving例子

from turbotransformers.

ShenYounger avatar ShenYounger commented on May 10, 2024

哦,发现你编译方法不对,你按照readme编译,example的二进制会被顺带编译出来了,不要自己到cpp/example里面搞,那样没有include到3rd的文件。
如果你想在其他项目里用turbo,可以使用add_subdirectory方式,我们过一段时间会提供一个serving例子

恩 明白了。我在TurboTransformers主目录里,编译就行了。可以把bert_model_example顺便编译出来。

多谢。

from turbotransformers.

feifeibear avatar feifeibear commented on May 10, 2024

Happy turboing.
The issue is solved and I closed it.

from turbotransformers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.