Skip to content

Conversation

@coconutruben
Copy link
Contributor

@coconutruben coconutruben commented Sep 30, 2024

Summary:

Why

The arguments are filtered out as they are just const in the compiled graph, but the logger still expects a non-None type

What

When passing a filtered out arg (None) to the debug logger, just log that it's a filtered out argument, instead of throwing a Type error

Background

#131594

Test Plan: - execute repro from #135584 (comment) with and without the edits

Differential Revision: D63652564

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @rec

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 30, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (4 Unrelated Failures)

As of commit f150c7d with merge base 1f3a793 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

BROKEN TRUNK - The following jobs failed but was present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63652564

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 30, 2024
@angelayi angelayi added the topic: not user facing topic category label Sep 30, 2024
coconutruben added a commit to coconutruben/pytorch that referenced this pull request Sep 30, 2024
…#137032)

Summary:
Pull Request resolved: pytorch#137032

# Why

The arguments are filtered out as they are just const in the compiled graph, but the logger still expects a non-None type

# What

When passing a filtered out arg (None) to the debug logger, just log that it's a filtered out argument, instead of throwing a Type error

also add unit test to capture this behavior going forward

# Background

pytorch#131594

Test Plan: - execute repro from pytorch#135584 (comment) with and without the edits

Reviewed By: angelayi

Differential Revision: D63652564
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63652564

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63652564

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63652564

coconutruben added a commit to coconutruben/pytorch that referenced this pull request Oct 1, 2024
…#137032)

Summary:
Pull Request resolved: pytorch#137032

# Why

The arguments are filtered out as they are just const in the compiled graph, but the logger still expects a non-None type

# What

When passing a filtered out arg (None) to the debug logger, just log that it's a filtered out argument, instead of throwing a Type error

also add unit test to capture this behavior going forward

# Background

pytorch#131594

Test Plan: - execute repro from pytorch#135584 (comment) with and without the edits

Reviewed By: angelayi

Differential Revision: D63652564
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63652564

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63652564

…#137032)

Summary:
Pull Request resolved: pytorch#137032

# Why

The arguments are filtered out as they are just const in the compiled graph, but the logger still expects a non-None type

# What

When passing a filtered out arg (None) to the debug logger, just log that it's a filtered out argument, instead of throwing a Type error

also add unit test to capture this behavior going forward

# Background

pytorch#131594

Test Plan: - execute repro from pytorch#135584 (comment) with and without the edits

Reviewed By: angelayi

Differential Revision: D63652564
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63652564

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge -f 'Landed internally'

(Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally)

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

AnantGulati pushed a commit to AnantGulati/pytorch that referenced this pull request Oct 2, 2024
…#137032)

Summary:
# Why

The arguments are filtered out as they are just const in the compiled graph, but the logger still expects a non-None type

# What

When passing a filtered out arg (None) to the debug logger, just log that it's a filtered out argument, instead of throwing a Type error

# Background

pytorch#131594

Test Plan: - execute repro from pytorch#135584 (comment) with and without the edits

Differential Revision: D63652564

Pull Request resolved: pytorch#137032
Approved by: https://github.com/angelayi
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.

4 participants