logix-project / logix

AI Logging for Interpretability and Explainability🔬
Apache License 2.0
74 stars 6 forks source link

Separating `log_state` from `AnaLogState` #63

Closed sangkeun00 closed 8 months ago

sangkeun00 commented 9 months ago

AnaLogState, by its design, is for tracking/storing global statistics such as hessian (or covariance) and mean gradient. However, log_state is only related to the current batch. Therefore, it would be nice to separate log_state from AnaLogState, and create a new class like BatchInfo that handles batch-specific information including log_state, data_id, and mask.

sangkeun00 commented 8 months ago

Addressed in #67