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

Delete MapTorchAdapter #3480

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

saitcakmak
Copy link
Contributor

@saitcakmak saitcakmak commented Mar 7, 2025

Summary:
This is not used after D70645611. Its core functionality has been upstreamed into TorchAdapter and can be controlled by DataLoaderConfig.

This was never used in OSS, so not going through a deprecation cycle with warnings before deletion.

Differential Revision: D70807349

…acebook#3464)

Summary:

Using the options available on `DataLoaderConfig`, we can extract the same data using the `TorchAdapter`, and eliminate the dependency on `MapTorchAdapter` (which we will be deprecating).

We can transition this onto `MapKeyToFloat` down the line, once we clean up `map_keys_as_parameters` logic within the `Adapter`.

Differential Revision: D70645611
Summary:
This is not used after D70645611. It's core functionality has been upstreamed into `TorchAdapter` and can be controlled by `DataLoaderConfig`.

This was never used in OSS, so not going through a deprecation cycle with warnings before deletion.

Differential Revision: D70807349
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 7, 2025
@facebook-github-bot
Copy link
Contributor

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

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.02%. Comparing base (5857ba9) to head (4e6ef03).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3480      +/-   ##
==========================================
- Coverage   96.02%   96.02%   -0.01%     
==========================================
  Files         539      537       -2     
  Lines       52920    52739     -181     
==========================================
- Hits        50818    50642     -176     
+ Misses       2102     2097       -5     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Successfully merging this pull request may close these issues.

3 participants