Skip to content

Per-column drift compensation? #661

Answered by maljoras-sony
maicoldubbio asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @edminge,

There is currently no column-wise drift compensation, since numerical experiments had shown that if one uses columnwise output scales (rpu_config.mapping.out_scaling_columnwise=True) the conductance range of the weights is very similar per column, which means that one output drift compensation is typically enough. Moreover, a scalar factor can be better estimated during reference computation when compensating for drift and thus is typically less prone to estimation errors. That said, one should be able to quickly implement a col-wise drift compensation class in the following way:

from aihwkit.inference.compensation.drift import GlobalDriftCompensation


class PerColumnDriftCo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maicoldubbio
Comment options

Answer selected by maicoldubbio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants