Comments (12)
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru wbnoinvd arat vaes vpclmulqdq rdpid fsrm
cpu支持的指令集
from paddle.
应该不是avx指令集的问题
from paddle.
[root@iZbp18xzwld4sbol3iq0huZ recommend_food]# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
BIOS Vendor ID: Alibaba Cloud
CPU family: 25
Model: 1
Model name: AMD EPYC 7T83 64-Core Processor
BIOS Model name: pc-i440fx-2.1
Stepping: 1
CPU MHz: 3241.388
BogoMIPS: 5090.42
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 512K
L3 cache: 32768K
NUMA node0 CPU(s): 0-3
cpu是这个架构
from paddle.
想要安装的是CPU的paddle还是GPU的paddle?如果是CPU的,通过pip install paddlepaddle==2.6.1 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
指令进行安装。如果是GPU版本的,在官网(https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html )选择本地的CUDA版本后,使用对应的指令按装。
from paddle.
想要安装的是CPU的paddle还是GPU的paddle?如果是CPU的,通过
pip install paddlepaddle==2.6.1 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
指令进行安装。如果是GPU版本的,在官网(https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html )选择本地的CUDA版本后,使用对应的指令按装。
您好,安装的是cpu版本,按您的安装方法,还是报同样的错误,我尝试用pip install paddlepaddle==2.5.2 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html命令把paddle降为2.5.2,又报下面错误:
File "/usr/local/lib/python3.11/site-packages/paddlenlp/taskflow/information_extraction.py", line 979, in _single_stage_predict
self.predictor.run()
ValueError: (InvalidArgument) The 0-th dimension of input[0] and input[1] is expected to be equal.But received input[0]'s shape = [1, 512], input[1]'s shape = [4, 49].
[Hint: Expected inputs_dims[0][j] == inputs_dims[i][j], but received inputs_dims[0][j]:1 != inputs_dims[i][j]:4.] (at /paddle/paddle/phi/kernels/funcs/concat_funcs.h:83)
[operator < concat > error]
这个怎么解决呢?麻烦您了!
from paddle.
@will-jl944 麻烦帮忙看看,难道是有些库的版本问题吗?谢谢
from paddle.
从报错信息来看可能是paddlepaddle v2.5.2版本与paddlenlp之间版本兼容性的问题。paddlepaddle v2.5.2仅支持paddlenlp v2.7及更早的版本。
from paddle.
@will-jl944 您好,本机的版本如下图,paddlepaddle==2.5.2 paddlenlp==2.6.1 paddleocr==2.7.3,python是3.9.10还是报
ValueError: (InvalidArgument) The 0-th dimension of input[0] and input[1] is expected to be equal.But received input[0]'s shape = [1, 512], input[1]'s shape = [4, 49].
[Hint: Expected inputs_dims[0][j] == inputs_dims[i][j], but received inputs_dims[0][j]:1 != inputs_dims[i][j]:4.] (at /paddle/paddle/phi/kernels/funcs/concat_funcs.h:83)
[operator < concat > error]
这个错,对其他库的版本有没有什么要求呢?麻烦帮忙看看,多谢!
from paddle.
能把出错的concat出错的那行代码提供下吗?同时是希望PaddleNLP具体执行什么工作了?
from paddle.
@wawltor 您好!出错的代码在下面文件83行;我们主要是基于paddlepaddle、paddlenlp和paddleocr去做paddlenlp-uie(即先对医院检测报告ocr识别,然后基于paddlenlp数据结构化),目前的状况是在自己工作电脑上paddlepaddle==2.6.1 paddlenlp==2.6.1 paddleocr==2.7.3是正常执行的;在阿里的centos服务器上出现上述错误,使用paddlepaddle==2.6.1 paddlenlp==2.6.1 paddleocr==2.7.3版本报[Thu Jun 6 19:48:23 2024] traps: python3[1953265] trap invalid opcode ip:7fc01d25acda sp:7ffcfe7ba360 error:0 in libpaddle.so[7fc014e00000+d82d000]错误,降级paddlepaddle到2.5.2又出现concat_funcs.h:83行[operator < concat > error],麻烦帮忙分析一下,谢谢[
Uploading concat_funcs.h…
](url)
from paddle.
@wawltor
错误代码如上图
from paddle.
是paddleocr的版本问题,安装paddleocr==2.6.1.3正常了
from paddle.
Related Issues (20)
- 按照官方文档的to_tensor示例, 输出结果与期待不符合 HOT 3
- paddle 不支持uint32, 但是在文档里表明了支持 HOT 7
- save模型output多出一个scale HOT 2
- The PaddlePaddle has conflicts with latest NumPy (2.0.0) HOT 1
- paddle.vision.ops.yolo_box转onnx时Broadcaster有错误
- 在H800上开启RDMA的双节点分布式训练相关问题 HOT 1
- [libprotobuf ERROR /paddle/third_party/protobuf/src/google/protobuf/message_lite.cc:133] Can't parse message of type "paddle.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type HOT 1
- tensor.sum()报出异常值
- fix_bug_of_test_block_mha_op
- torch模型转paddle, 时延增加了30倍 HOT 2
- OSError: (External) CUDNN error(8) HOT 3
- AI studio 支持pyvista stpyvista HOT 4
- 【AI studio】 Paddle 3.0 和 graido 依赖冲突 HOT 2
- paddle.create_parameter 的参数名 HOT 2
- remote: [ModelScope]0e40819a, repo size(1501546639) greater than max repo size(524288000). HOT 1
- Paddle.nn.LSTM 模型使用.to('gpu:0')报错
- knowledge_mining在GPU Tesla P100 无法运行(其他显卡和主机环境OK、CPU版本OK) HOT 1
- 如何将动态图的模型参数转存为静态图 HOT 1
- 源码编译cmake时遇到Something Wrong here, this backward op (global_gather_grad)'s forward op (global_gather) does not exist.的问题 HOT 9
- paddle.to_tensor(sample)生成的张量全是0 HOT 5
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 paddle.