-
DescriptionRead noise implementation and documentation are different. Here aihwkit/src/aihwkit/inference/noise/pcm.py Lines 141 to 142 in 647efaa while in the documentation at aihwkit/docs/source/pcm_inference.rst Line 157 in 647efaa g_T is used.
Which one is correct? I can send a PR if you guide me. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @matifali , Thanks! Best, |
Beta Was this translation helpful? Give feedback.
-
Also, the read noise is applied inside the aihwkit/src/aihwkit/inference/noise/pcm.py Line 123 in 647efaa |
Beta Was this translation helpful? Give feedback.
-
If you use the drift analog weights only the long-term and accumulating effects of noise and drift to the weights are modeled. Once you call the |
Beta Was this translation helpful? Give feedback.
If you use the drift analog weights only the long-term and accumulating effects of noise and drift to the weights are modeled. Once you call the
drift_analog_weights
the weights are fixed for subsequent inference calls. If you want to add shorter-term read-noise that is applied to any mat-vec, then you need to use additionally therpu_config.forward.w_noise
andrpu_config.forward.w_noise_type=WeightNoiseType.PCM_READ
setting (see here ). This would model an additional short-term weight noise that is added to the output each time a mat-vec is done with the same characteristics as the 1/f noise in the PCM noise model. Note that in addition there are alsoout_noise
andinp_noise
settings ava…