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

Update ModelBasedESS to use TorchAdapter instead of MapTorchAdapter #3464

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

saitcakmak
Copy link
Contributor

@saitcakmak saitcakmak commented Mar 5, 2025

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

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

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

@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.02%. Comparing base (5857ba9) to head (dbc379a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3464      +/-   ##
==========================================
- Coverage   96.02%   96.02%   -0.01%     
==========================================
  Files         539      539              
  Lines       52920    52918       -2     
==========================================
- Hits        50818    50813       -5     
- Misses       2102     2105       +3     

☔ 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.

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Mar 5, 2025
…acebook#3464)

Summary:

With the `MapKeyToFloat` transform, we can extract the same data using the `TorchAdapter`, and eliminate the dependency on `MapTorchAdapter` (which we may be deprecating).

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

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

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Mar 5, 2025
…acebook#3464)

Summary:
Pull Request resolved: facebook#3464

With the `MapKeyToFloat` transform, we can extract the same data using the `TorchAdapter`, and eliminate the dependency on `MapTorchAdapter` (which we may be deprecating).

Differential Revision: D70645611
…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
@facebook-github-bot
Copy link
Contributor

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

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Mar 7, 2025
…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
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