Skip to content

Conversation

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 6, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/148669

Note: Links to docs will display an error until the docs builds have been completed.

⏳ 1 Pending, 1 Unrelated Failure

As of commit 97f792b with merge base e7bc1d1 (image):

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

import sys
import unittest
from collections import defaultdict, deque, namedtuple, OrderedDict, UserDict
from collections import defaultdict, namedtuple, OrderedDict, UserDict
Copy link
Collaborator Author

@XuehaiPan XuehaiPan Mar 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test failure is caused by the assertion below:

def reconstruct(self, codegen: "PyCodegen") -> None:
assert "deque" not in codegen.tx.f_globals
codegen.add_push_null(
lambda: codegen.append_output(
codegen.create_load_python_module(collections.deque)
)
)

deque is not allowed to be globally imported in the user code. I'm not sure if this assertion is necessary.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that seems like a bug, can you file a separate issue for it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that seems like a bug, can you file a separate issue for it?

Opened a new PR #148676.

XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Mar 6, 2025
ghstack-source-id: 4467210
Pull Request resolved: pytorch#148669
@XuehaiPan
Copy link
Collaborator Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Mar 6, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Mar 9, 2025
pytorchmergebot pushed a commit that referenced this pull request Mar 10, 2025
@github-actions github-actions bot deleted the gh/XuehaiPan/258/head branch April 11, 2025 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants