Open zhongxiaoyu opened 1 year ago
(bk-sdm) :~/pnnx/build/install/bin$ ./pnnx ~/diffusers-ncnn/model/unet-fp16.pt inputshape=[1,4,32,32],[1],[1,77,768] pnnxparam = ~/diffusers_ncnn/model/unet_fp16.pnnx.param pnnxbin = ~/diffusers_ncnn/model/unet_fp16.pnnx.bin pnnxpy =~/diffusers_ncnn/model/unet_fp16_pnnx.py pnnxonnx = ~/diffusers_ncnn/model/unet_fp16.pnnx.onnx ncnnparam =~/diffusers_ncnn/model/unet_fp16.ncnn.param ncnnbin = ~/diffusers_ncnn/model/unet_fp16.ncnn.bin ncnnpy = ~/diffusers_ncnn/model/unet_fp16_ncnn.py fp16 = 1 optlevel = 2 device = cpu inputshape = [1,4,32,32]f32,[1]f32,[1,77,768]f32 inputshape2 = customop = moduleop = ############# pass_level0 inline module = diffusers.models.attention.BasicTransformerBlock inline module = diffusers.models.attention.FeedForward inline module = diffusers.models.attention.GEGLU inline module = diffusers.models.attention_processor.Attention inline module = diffusers.models.embeddings.TimestepEmbedding inline module = diffusers.models.embeddings.Timesteps inline module = diffusers.models.resnet.Downsample2D inline module = diffusers.models.resnet.ResnetBlock2D inline module = diffusers.models.resnet.Upsample2D inline module = diffusers.models.transformer_2d.Transformer2DModel inline module = diffusers.models.unet_2d_blocks.CrossAttnDownBlock2D inline module = diffusers.models.unet_2d_blocks.CrossAttnUpBlock2D open failed inline module = diffusers.models.attention.BasicTransformerBlock inline module = diffusers.models.attention.FeedForward inline module = diffusers.models.attention.GEGLU inline module = diffusers.models.attention_processor.Attention inline module = diffusers.models.embeddings.TimestepEmbedding inline module = diffusers.models.embeddings.Timesteps inline module = diffusers.models.resnet.Downsample2D inline module = diffusers.models.resnet.ResnetBlock2D inline module = diffusers.models.resnet.Upsample2D inline module = diffusers.models.transformer_2d.Transformer2DModel inline module = diffusers.models.unet_2d_blocks.CrossAttnDownBlock2D inline module = diffusers.models.unet_2d_blocks.CrossAttnUpBlock2D
Segmentation fault (core dumped)
转换过程中出现open failed请问是什么问题啊
(bk-sdm) :~/pnnx/build/install/bin$ ./pnnx ~/diffusers-ncnn/model/unet-fp16.pt inputshape=[1,4,32,32],[1],[1,77,768] pnnxparam = ~/diffusers_ncnn/model/unet_fp16.pnnx.param pnnxbin = ~/diffusers_ncnn/model/unet_fp16.pnnx.bin pnnxpy =~/diffusers_ncnn/model/unet_fp16_pnnx.py pnnxonnx = ~/diffusers_ncnn/model/unet_fp16.pnnx.onnx ncnnparam =~/diffusers_ncnn/model/unet_fp16.ncnn.param ncnnbin = ~/diffusers_ncnn/model/unet_fp16.ncnn.bin ncnnpy = ~/diffusers_ncnn/model/unet_fp16_ncnn.py fp16 = 1 optlevel = 2 device = cpu inputshape = [1,4,32,32]f32,[1]f32,[1,77,768]f32 inputshape2 = customop = moduleop = ############# pass_level0 inline module = diffusers.models.attention.BasicTransformerBlock inline module = diffusers.models.attention.FeedForward inline module = diffusers.models.attention.GEGLU inline module = diffusers.models.attention_processor.Attention inline module = diffusers.models.embeddings.TimestepEmbedding inline module = diffusers.models.embeddings.Timesteps inline module = diffusers.models.resnet.Downsample2D inline module = diffusers.models.resnet.ResnetBlock2D inline module = diffusers.models.resnet.Upsample2D inline module = diffusers.models.transformer_2d.Transformer2DModel inline module = diffusers.models.unet_2d_blocks.CrossAttnDownBlock2D inline module = diffusers.models.unet_2d_blocks.CrossAttnUpBlock2D open failed inline module = diffusers.models.attention.BasicTransformerBlock inline module = diffusers.models.attention.FeedForward inline module = diffusers.models.attention.GEGLU inline module = diffusers.models.attention_processor.Attention inline module = diffusers.models.embeddings.TimestepEmbedding inline module = diffusers.models.embeddings.Timesteps inline module = diffusers.models.resnet.Downsample2D inline module = diffusers.models.resnet.ResnetBlock2D inline module = diffusers.models.resnet.Upsample2D inline module = diffusers.models.transformer_2d.Transformer2DModel inline module = diffusers.models.unet_2d_blocks.CrossAttnDownBlock2D inline module = diffusers.models.unet_2d_blocks.CrossAttnUpBlock2D
Segmentation fault (core dumped)