🔥PyTorchGitHub
Content type: Code

pytorch/executorch ciflow/trunk/20284 (opens in new tab)

#Python Fix ARM test listing failures caused by torch import at collection time (#20284) Summary: The ~180 ARM test listings fail in fbcode//mode/opt during pytest collection with AttributeError: module 'torch' has no attribute '_utils'. Root cause: torch._utils is importable but is not bound as an attribute on the torch module, so importing torch._dynamo (pulled in via executorch.exir / torchao when a test module is collected) reads torch._utils directly and crashes the whole listing. This i...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help