Skip to content

Inconsistent aihwkit's model inference output when given the same input #504

Answered by maljoras
dongwhfdyer asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dongwhfdyer, many thanks for raising an issue.

The AIHWKIT is a toolkit for simulating analog "noisy" in-memory computing hardware. The to be simulated hardware can be configured using the RPUConfig. Be default, a repeated forward pass, that is evaluation in the "eval mode" on this analog hardware will be noisy and non-ideal. Thus, it is entirely expected that the output is different from run to run, even in the "eval" mode. You can change the noisiness of the forward pass by adjusting the rpu_config.forward attributes which are of class IOParameters (see here). In particular if you set

rpu_config.forward.is_perfect = True        

you turn off all noise and non-idealities, so that you…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dongwhfdyer
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #503 on May 07, 2023 16:37.