Skip to content

Conversation

@roll-away
Copy link
Contributor

@roll-away roll-away commented Dec 29, 2025

PR Category

Bug Fix

Description

fix graph_net/torch/dim_gen_passes/non_batch_call_function_arange_pass.py
消除了run_model过程里“IndexError: index out of range in self”这一类报错。
[to do] 剩余一种报错”RuntimeError: The size of tensor a (64) must match the size of tensor b (10) at non-singleton dimension 1”很有可能是不可解的,因为下图中标出的部分维度大概率是写死的
image

@paddle-bot
Copy link

paddle-bot bot commented Dec 29, 2025

Thanks for your contribution!

@Xreki
Copy link
Collaborator

Xreki commented Dec 30, 2025

你这个PR解决的是IndexError: index out of range in self这类报错,那就把这个错误贴到PR描述中,并且附上原始样本对应部分的源码、维度泛化后对应部分的源码,如有需要,对相关变量的shape进行说明,解释出错的原因。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants