Skip to content

Exclude special attributes from causing MetricsLambda creation#3263

Merged
vfdev-5 merged 2 commits intopytorch:masterfrom
sadra-barikbin:fix-metric-getattr
Jul 17, 2024
Merged

Exclude special attributes from causing MetricsLambda creation#3263
vfdev-5 merged 2 commits intopytorch:masterfrom
sadra-barikbin:fix-metric-getattr

Conversation

@sadra-barikbin
Copy link
Copy Markdown
Collaborator

Fixes #3262

Description:
To exclude special attributes from causing MetricsLambda creation when they're accessed.

Check list:

  • New tests are added (if a new feature is added)

@github-actions github-actions bot added the module: metrics Metrics module label Jul 16, 2024
Copy link
Copy Markdown
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Hey Sadra, sounds reasonable, thanks for the fix!
And welcome back!

@vfdev-5
Copy link
Copy Markdown
Collaborator

vfdev-5 commented Jul 17, 2024

Let's add a simple test for that

@vfdev-5 vfdev-5 enabled auto-merge (squash) July 17, 2024 09:56
@vfdev-5 vfdev-5 merged commit edd5025 into pytorch:master Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: metrics Metrics module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

To exclude special attributes from causing MetricsLambda creation

2 participants