Skip to content

Make Captum log_usage universal by supporting async functions #1614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

craymichael
Copy link
Contributor

Summary: As title. Checks if function being wrapped is a coroutine and uses an async wrapper instead of sync when logging.

Differential Revision: D76837949

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

craymichael added a commit to craymichael/captum that referenced this pull request Jun 18, 2025
…h#1614)

Summary:
Pull Request resolved: pytorch#1614

As title. Checks if function being wrapped is a coroutine and uses an async wrapper instead of sync when logging.

Reviewed By: vivekmig

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

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

craymichael added a commit to craymichael/captum that referenced this pull request Jun 18, 2025
…h#1614)

Summary:
Pull Request resolved: pytorch#1614

As title. Checks if function being wrapped is a coroutine and uses an async wrapper instead of sync when logging.

Reviewed By: vivekmig

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

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

craymichael added a commit to craymichael/captum that referenced this pull request Jun 18, 2025
…h#1614)

Summary:
Pull Request resolved: pytorch#1614

As title. Checks if function being wrapped is a coroutine and uses an async wrapper instead of sync when logging.

Reviewed By: vivekmig

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

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

craymichael added a commit to craymichael/captum that referenced this pull request Jun 18, 2025
…h#1614)

Summary:
Pull Request resolved: pytorch#1614

As title. Checks if function being wrapped is a coroutine and uses an async wrapper instead of sync when logging.

Reviewed By: vivekmig

Differential Revision: D76837949
…h#1614)

Summary:
Pull Request resolved: pytorch#1614

As title. Checks if function being wrapped is a coroutine and uses an async wrapper instead of sync when logging.

Reviewed By: vivekmig

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a293a56.

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.

2 participants