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.3.tar.gz
(105.9 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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f3c2d3d292ed8133dcdc348625a826571fd3533968ce022800ef2d1167a456c
|
|
| MD5 |
b1af6139ff49ecc196a48fd968d4ea2b
|
|
| BLAKE2b-256 |
44ed137857f95d0af85f1e7436818803310c6bde0fa98eb120506e228beb2ef9
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65e03be63eae1b5a72a688c3538e9d1780e473ed3505801b8dee257e6cb5e124
|
|
| MD5 |
3c9437049a7f7355e64b0502617ba42f
|
|
| BLAKE2b-256 |
12f5c02ed30a5d87ea9efb477749d8be6fa565828afa90d093831be48671dda7
|