Skip to main content

DASH

Project description

DASH (wip)

Implementation of DASH, Warm-Starting Neural Network Training in Stationary Settings without Loss of Plasticity

Install

$ pip install DASH-pytorch

Usage

import torch
from torch.nn import Linear

from DASH.DASH import AdamW

net = Linear(10, 5)
optim = AdamW(net.parameters(), lr = 3e-4)

loss = net(torch.randn(10)).sum()
loss.backward()

optim.step()
optim.zero_grad()

optim.shrink_params()
optim.clear_grad_ema()

Citations

@misc{shin2024dashwarmstartingneuralnetwork,
    title   = {DASH: Warm-Starting Neural Network Training in Stationary Settings without Loss of Plasticity}, 
    author  = {Baekrok Shin and Junsoo Oh and Hanseul Cho and Chulhee Yun},
    year    = {2024},
    eprint  = {2410.23495},
    archivePrefix = {arXiv},
    primaryClass = {cs.LG},
    url     = {https://arxiv.org/abs/2410.23495}, 
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash_pytorch-0.0.3.tar.gz (105.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dash_pytorch-0.0.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file dash_pytorch-0.0.3.tar.gz.

File metadata

  • Download URL: dash_pytorch-0.0.3.tar.gz
  • Upload date:
  • Size: 105.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for dash_pytorch-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3f3c2d3d292ed8133dcdc348625a826571fd3533968ce022800ef2d1167a456c
MD5 b1af6139ff49ecc196a48fd968d4ea2b
BLAKE2b-256 44ed137857f95d0af85f1e7436818803310c6bde0fa98eb120506e228beb2ef9

See more details on using hashes here.

File details

Details for the file dash_pytorch-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dash_pytorch-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for dash_pytorch-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 65e03be63eae1b5a72a688c3538e9d1780e473ed3505801b8dee257e6cb5e124
MD5 3c9437049a7f7355e64b0502617ba42f
BLAKE2b-256 12f5c02ed30a5d87ea9efb477749d8be6fa565828afa90d093831be48671dda7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page