Comments (3)
应该是 mmap 相关 API 的问题
from inferllm.
嗯,我呀遇到这个问题了,我的解决办法是在file.h文件中最上面再加入一行 #include <sys.mman.h>就可以了。另外我经过多次尝试最后的软件版本号搭配是:gcc 7.5.0 g++ 7.5.0 cmake 3.26.4 make 4.1, 就可以顺利编译了
from inferllm.
我也遇到相同的问题,我的环境是CentOS7,默认yum install gcc g++,
问题原因是gc++编译器版本太低,不支持c++ 11的特性,解决办法是升级版本
CentOS 7升级GCC ,至少到7系列,切换版本之后,要清空build目录,重新cmake,重新make
https://blog.csdn.net/b_ingram/article/details/121569398
from inferllm.
Related Issues (20)
- Please support RWKV for refs and compare.
- O3 optimization are slower on SG2042 HOT 3
- Thread wakening may be bottom neck for large core systems HOT 8
- 【new feature】通义千问有没有计划支持 HOT 2
- 能否改为GPU辅助计算 HOT 6
- ChatGLM2 效果异常 HOT 1
- chatglm2 GPU版本的int4、int8量化模型预测结果异常 HOT 1
- 请问是否有计划支持Whisper? HOT 1
- mac os Big Sur 11.7.4 Linking Error , Undefined symbols HOT 1
- arm 平台输出乱码 HOT 3
- chatglm3有计划支持吗? HOT 3
- I got the error on centos 7: failed to tokenize string! HOT 2
- 可以在RV64指令集的CPU上运行吗
- 请问可以在不支持V扩展的RISC-V CPU上运行吗 HOT 1
- 移植问题
- 在运行llama2-13b的时候出现以下问题
- How to build wasm file?
- 这个有windows的部署教程吗
- 在树莓派3b+上部署,出现无法打开模型的问题 HOT 4
- 有打算支持qwen吗
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 inferllm.