We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988fa94 commit a1c610dCopy full SHA for a1c610d
src/lighteval/logging/evaluation_tracker.py
@@ -20,7 +20,6 @@
20
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
# SOFTWARE.
22
23
-import copy
24
import json
25
import logging
26
import os
@@ -156,8 +155,7 @@ def save(self) -> None:
156
155
date_id = datetime.now().isoformat().replace(":", "-")
157
158
# We first prepare data to save
159
- config_general = copy.deepcopy(self.general_config_logger)
160
- config_general = asdict(config_general)
+ config_general = asdict(self.general_config_logger)
161
# We remove the config from logging, which contains context/accelerator objects
162
config_general.pop("config")
163
0 commit comments