Skip to content

Conversation

@teodor-r
Copy link
Contributor

@teodor-r teodor-r commented Apr 25, 2025

Added map_location and model_params_update arguments for the function load_from_checkpoint for Transformer-based models. Use map_location to explicitly specify the computing new device and model_params_update to update original model parameters (e.g. remove training-specific parameters that are not needed anymore)

@codecov
Copy link

codecov bot commented May 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (9b3992e) to head (1541a77).
⚠️ Report is 120 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##              main      #281     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files           45        78     +33     
  Lines         2242      5301   +3059     
===========================================
+ Hits          2242      5301   +3059     

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

@blondered blondered merged commit a6ec1c1 into MobileTeleSystems:main May 15, 2025
9 checks passed
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