Skip to content
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

move snapshot imports into try catch #597

Closed
wants to merge 1 commit into from

Conversation

JKSenthil
Copy link
Contributor

Summary: Few imports of torchsnapshot were outside of the try catch that checks if torchsnapshot is in the environment. This diff moves them into the try catch block

Differential Revision: D50754606

Summary: Few imports of torchsnapshot were outside of the try catch that checks if torchsnapshot is in the environment. This diff moves them into the try catch block

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

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

@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Merging #597 (e657b27) into master (2794b9a) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #597   +/-   ##
=======================================
  Coverage   86.95%   86.95%           
=======================================
  Files          66       66           
  Lines        4131     4131           
=======================================
  Hits         3592     3592           
  Misses        539      539           
Files Coverage Δ
...orchtnt/framework/callbacks/torchsnapshot_saver.py 91.76% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

JKSenthil added a commit to JKSenthil/tnt that referenced this pull request Oct 27, 2023
Summary:

Few imports of torchsnapshot were outside of the try catch that checks if torchsnapshot is in the environment. This diff moves them into the try catch block

Reviewed By: galrotem

Differential Revision: D50754606
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