ZC proxies calculation repo, altered from foresight package.
Project description
zero-cost-proxies
Independent ZC proxies only for testing on it.
Modified and simplified from foresight repo, fix some bugs in model output, remove some unwanted code snippets.
Supported zc-metrics are:
=========================================================
= grad_norm, =
=-------------------------------------------------------=
= grasp, =
=-------------------------------------------------------=
= snip, =
=-------------------------------------------------------=
= synflow, =
=-------------------------------------------------------=
= nwot, (NASWOT) =
= [nwot, nwot_Kmats] =
=-------------------------------------------------------=
= lnwot, (Layerwise NASWOT) =
= [lnwot, lnwot_Kmats] =
=-------------------------------------------------------=
= nwot_relu, (original RELU based NASWOT metric) =
= [nwot_relu, nwot_relu_Kmats] =
=========================================================
1. Tests
ImageNet16-120 cannot be automatically downloaded. Using script under scripts/download_data.sh
to download:
source scripts/download_data.sh nb201 ImageNet16-120
# do not use `bash`, use `source` instead
2. Versions
- V1.0.6
add originalnaswot
implements based on RELU, can be calculated using metircnwot_relu
, also fix potential oom bug, and more reliable GPU memory cache removal code snippets. - V1.0.5
addnaswot, lnwot
into mats - V1.0.4
fix bugs in calculation, add more test codes. - V1.0.3
add shortcuts to import directly from package root directory.
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
alethiometer-1.0.6.tar.gz
(21.9 kB
view hashes)
Built Distribution
Close
Hashes for alethiometer-1.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeda382b9b4b468a75241bbcef374c3643fb21e4e9e477279e617e78e703609b |
|
MD5 | d4db33658b0803ea663a496d51ec7b71 |
|
BLAKE2b-256 | 4b321ef0bc92777e6a85316ca5e8581f03737484ddd0318a5caefbe307af6abc |