编译和运行
参考:http://blog.youkuaiyun.com/wangwcnl/article/details/46227935
或者官方版:(注意路径替换为本地路径)
file:///L:/cpu2006-1.2/Docs/install-guide-unix.html注意,2006 只有用gcc4 编译
切换gcc版本参见上一篇一些需要安装的东西
sudo apt-get install numactl sudo apt-get install gfortran-4.7 #似乎大于这个版本将报错 sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-4.7 50另外,
.和source是一样的好像$ . file # 注意有空格 $ source filerunspec
别人的结果和runspce 的参数说明
三个参数:--size test/train/ref ref(默认) --tune base/peak/all base(默认) int/fp/all/400/401/410/bzip2我用过的测试命令
runspec --config test.cfg --reportable int runspec --config test.cfg --rate 20 --ignoreerror --tune=all --reportable all runspec --config test.cfg --rate 40 --ignoreerror --tune=all --reportable all runspec --config=test.cfg --rebuild --size=ref --tune=base --noreportable --iterations=1 416 runspec --config=test.cfg --size=ref --tune=base --noreportable --iterations=3 bzip2 runspec --config=test.cfg --rate --copies 40 --size=ref --tune=base --noreportable --iterations=1 bzip2 runspec --config=test.cfg --rate 40 --size=ref --tune=base --noreportable --iterations=1 bzip2有时需要修改config文件,
首先到config目录下找到自己平台的配置文件,
比如我用的是Example-linux64-amd64-gcc43+.cfgcp Example-linux64-amd64-gcc43+.cfg test.cfg然后编辑自己的cfg文件,比如如果需要测20个核心的cpu
就要把文件中的numactl改成(默认最大支持8个核,且numa绑定了错误的内存)# with 4 cores per socket - you might need to adjust these for your specific platform. bind0 = numactl -m 0 --physcpubind=0 bind1 = numactl -m 1 --physcpubind=1 bind2 = numactl -m 0 --physcpubind=2 bind3 = numactl -m 1 --physcpubind=3 bind4 = numactl -m 0 --physcpubind=4 bind5 = numactl -m 1 --physcpubind=5 bind6 = numactl -m 0 --physcpubind=6 bind7 = numactl -m 1 --physcpubind=7 bind8 = numactl -m 0 --physcpubind=8 bind9 = numactl -m 1 --physcpubind=9 bind10 = numactl -m 0 --physcpubind=10 bind11 = numactl -m 1 --physcpubind=11 bind12 = numactl -m 0 --physcpubind=12 bind13 = numactl -m 1 --physcpubind=13 bind14 = numactl -m 0 --physcpubind=14 bind15 = numactl -m 1 --physcpubind=15 bind16 = numactl -m 0 --physcpubind=16 bind17 = numactl -m 1 --physcpubind=17 bind18 = numactl -m 0 --physcpubind=18 bind19 = numactl -m 1 --physcpubind=19numa详见另外一篇
spec cpu 2006
最新推荐文章于 2024-11-18 17:53:25 发布
本文介绍了如何编译和运行Spec CPU 2006,强调了只能使用gcc4进行编译,并提供了官方安装指南链接。此外,提到了runspec命令的使用及参数说明,以及可能需要修改配置文件的情况,特别是针对多核CPU的numa设置。还提及了一些他人遇到的错误情况作为参考。
部署运行你感兴趣的模型镜像
您可能感兴趣的与本文相关的镜像
Wan2.2-T2V-A5B
文生视频
Wan2.2
Wan2.2是由通义万相开源高效文本到视频生成模型,是有50亿参数的轻量级视频生成模型,专为快速内容创作优化。支持480P视频生成,具备优秀的时序连贯性和运动推理能力
6380





