Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Introduce Class Usage Logging #1243

Closed
wants to merge 1 commit into from

Conversation

m3rlin45
Copy link
Contributor

@m3rlin45 m3rlin45 commented Feb 5, 2020

Summary:
This builds on https://pytorch.org/docs/stable/notes/large_scale_deployments.html#api-usage-logging to log when certain classes are initialized.

In this diff, I only covered bert/roberta models (and not even necessarily all of them) to prove that the system works

This will not affect OSS users, as for them, the logger is a no-op.

Reviewed By: snisarg

Differential Revision: D19744167

Summary:
This builds on https://pytorch.org/docs/stable/notes/large_scale_deployments.html#api-usage-logging to log when certain classes are initialized.

In this diff, I only covered bert/roberta models (and not even necessarily all of them) to prove that the system works

This will not affect OSS users, as for them, the logger is a no-op.

Reviewed By: snisarg

Differential Revision: D19744167

fbshipit-source-id: d37bd56f640e95811f9485d8d231c6985924e6d4
@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Feb 5, 2020
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in b98c294.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants