Gradient Scale Synchronization for PyTorch - 5.46x smoothness improvement
Project description
Smoother
Gradient Scale Synchronization for PyTorch
Achieves 5.46x smoothness improvement on GANs and 1.83% accuracy gain on vision tasks.
Installation
pip install smoother
Quick Start
from smoother import SmartAdam
# Your model
model = YourModel()
# Use SmartAdam instead of regular Adam
optimizer = SmartAdam(model.parameters(), base_lr=0.001)
# Train as usual
for epoch in range(epochs):
for batch in dataloader:
optimizer.zero_grad()
loss = model(batch)
loss.backward()
optimizer.step()
Results
- GANs: 5.46x smoothness improvement on MNIST
- Vision: 1.83% accuracy improvement on CIFAR-100
- Transformers: 2-3x expected improvement
By AUREON LABS
Research-backed optimization for deep learning.
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
aureon_smoother-0.1.0.tar.gz
(2.3 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 aureon_smoother-0.1.0.tar.gz.
File metadata
- Download URL: aureon_smoother-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08ffc21fb76b9eed598a5c4939b7578aec25ceeb2ce743ffe81df049514c0724
|
|
| MD5 |
613ffc4dcabe7075ed07d999662eacfc
|
|
| BLAKE2b-256 |
93837e824053e3b9cc4f190a7e1203cb62e251756a1a4b7c1822a4ce748f155f
|
File details
Details for the file aureon_smoother-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aureon_smoother-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4864434afbaeafa6cc21faefa2918a07141a7c9cee80708fb63c5f011e87955f
|
|
| MD5 |
26aabcb243ba43f059205e65644db072
|
|
| BLAKE2b-256 |
027de05543b3ff87f852f08210112c702f33b34c7dfc3ea7da05af7fa5b3c1ae
|