apple / apple/coremltools

How to reduce the memory usage of DKM algorithm?

Open
#2,547 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
5.4k
Forks
850
Avg merge
4d 5h
Merged PRs (30d)
10

Description

I am trying to use the DKM to palletize the weights of my Torch model during training.
However, on a somewhat large model ~500M parameters, this always leads to OOM.
Therefore, I would like to ask if there is a way to use DKM (or any type of training time palletization) with larger models?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the DKM implementation and how it is used with Torch models during training. The issue names no files or tests, so identify the relevant entry points and establish whether reducing memory use or supporting larger models is feasible; done should include a documented approach or working training-time palletization for models around 500M parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.