mlcommons / mlcommons/algorithmic-efficiency

Test resetting model parameters via `workload.init_model_fn()` during training

Open
#48 0 comments 0 reactions 1 assignee View on GitHub

@pomonam is already working on this.

Since Feb 17, 2023.

Dominant language
Python
Stars
425
Forks
78
PR merge metrics
No merged PRs in 30d

Description

According to the rules, it is expected that the model parameters can be reset by calling workload.init_model_fn(). However, creating a new model instance, like it is currently done in the MNIST PyTorch workload, might lead to out-of-memory errors, if the loss/optimizer and potentially other objects are not deleted properly (also described here). Hence, resetting model paramerters during training should be tested and workload.init_model_fn() should potentially be adjusted.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.