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

Backward compatible with even older PyTorch #551

Conversation

yodahuang
Copy link

traceName was added in pytorch/kineto#458. viztracer does not need the field, so it's safe skip dropping the field if the field was just not there. I verified that it works with PyTorch 1.11.

Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (f2db6bf) to head (bbd2771).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #551   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           19        19           
  Lines         2141      2141           
=========================================
  Hits          2141      2141           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gaogaotiantian
Copy link
Owner

2021 is like 4 years ago and we don't really care about that anymore.

@yodahuang
Copy link
Author

Understood. I can patch the lib locally for my usecase.

@yodahuang yodahuang closed this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants