pytorch - ✅(Solved) Fix DISABLED test_errors_nn_Embedding_xpu_float64 (__main__.TestModuleXPU) [2 pull requests, 1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
pytorch/pytorch#178854Fetched 2026-04-08 01:57:39
View on GitHub
Comments
1
Participants
2
Timeline
50
Reactions
0
Author
Timeline (top)
mentioned ×18subscribed ×18labeled ×7referenced ×3

Root Cause

This test was disabled because it is failing on main branch (recent examples).

PR fix notes

PR #178987: [xpu][fix] Fix nn.Embedding module failures on XPU

Description (problem / solution / changelog)

Stack from ghstack (oldest at bottom):

  • -> #178987

Motivation

https://github.com/pytorch/pytorch/pull/174180 introduces nn.Embedding module, which causes CI failures on XPU.

Additional Context

fix https://github.com/pytorch/pytorch/issues/178854 fix https://github.com/pytorch/pytorch/issues/178762

Changed files

  • torch/testing/_internal/common_modules.py (modified, +1/-2)
RAW_BUFFERClick to expand / collapse

Platforms: xpu

This test was disabled because it is failing on main branch (recent examples).

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @gujinghui @EikanWang @fengyuan14

extent analysis

TL;DR

  • Re-enable and investigate the failing test test_errors_nn_Embedding_xpu_float64 in test_modules.py to resolve the issue.

Guidance

  • Review the recent failure examples on torch-ci.com to understand the test failure patterns.
  • Investigate the test_errors_nn_Embedding_xpu_float64 test case to identify the root cause of the failure.
  • Consider running the test locally or in a controlled environment to reproduce and debug the issue.

Notes

  • The issue seems to be specific to the xpu platform and the test_modules.py file.
  • Without more information, it's difficult to provide a specific fix or code changes.

Recommendation

  • Apply workaround: Re-enable the test and investigate the failure to determine the best course of action.
  • This approach allows for a more targeted investigation and potential fix, rather than applying a generic solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING