You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(quantity): use [[deprecated]] attr, TORCH_WARN_DEPRECATION, and remove quantity-based unit conversion
- Add [[deprecated]] attribute to quantity() getter and set_quantity()
in model.hpp for compile-time warnings
- Switch from TORCH_WARN to TORCH_WARN_DEPRECATION with std::once_flag
in set_quantity() for proper runtime deprecation signaling
- Remove quantity-based unit conversion logic from model.py; unit
conversion now uses declared/requested unit fields directly
- Revert conftest.py files to strict stderr checking; catch deprecation
warnings explicitly at emission sites using capfd in affected tests
and fixtures
- Add filterwarnings for ModelOutput.quantity DeprecationWarning in ASE
and torchsim pyproject.toml
0 commit comments