Skip to content

Issue with Applying Drift During Inference Phase in AIHWKit #672

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

You must be logged in to vote

Note that the drift model is never applied during training, so there is no need to have a flag. It will be only used for inference time.

It is not clear from the above how the modified rpu_config is applied after training was done, before the inferfence. Is the model recreated while using the new rpu_config? There is a special flag to change the rpu_config during loading, otherwise the old rpu_config will be taken that is stored in the state_dict. You can also use the model.to(new_rpu_config) to change the model to the new rpu_config. However, it is even easier if you just set include_drift=True always, as drift will never be called during training. In this case, you do not have to change…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@maljoras-sony
Comment options

Answer selected by PabloCarmona
Comment options

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

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