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
Release history Release notifications | RSS feed
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.1.tar.gz
(105.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dash_pytorch-0.0.1.tar.gz.
File metadata
- Download URL: dash_pytorch-0.0.1.tar.gz
- Upload date:
- Size: 105.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd4a9c76b11b5ae89f4cfbabe1e934a12ab38dd76c1578cf226f4a373a257b0f
|
|
| MD5 |
3a35b1b795184f323b4d41e5c780a385
|
|
| BLAKE2b-256 |
ebef67fb91fd2648873372b82501e84069f024473a855b38564d31d70af49a96
|
File details
Details for the file dash_pytorch-0.0.1-py3-none-any.whl.
File metadata
- Download URL: dash_pytorch-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bc0bebd41e2cc094b39e9088b97f76a97e26bc44312a962c7e55c2fc4fa4ca6
|
|
| MD5 |
99e88576c1324429dd844c4b5a092bc3
|
|
| BLAKE2b-256 |
62cc150aa2173db0135cb07b8130467cd0fbc682d3cbd2ab2143b32b041acbcc
|