Mapping learned weights to PCMs #698
-
Hi all! Suppose you want to map HWA-trained weights to physical PCM conductances. Such model will have a number of I/O scaling coefficients that are essential for proper inference execution. AFAIK, the overall per-column MVM product where My question is, how can you get this factor for each analog tile? So that, once mapped to actual PCMs, you get the same results. (I might be missing some steps, in case let me know!) Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @maicoldubbio, Great question! Here is a complete example of how all the scales can be extracted and MVMs can be performed using PWM and conductance values for the first tile of example 25 (https://github.com/IBM/aihwkit/blob/master/examples/25_torch_tile_lenet5_hardware_aware.py):
I have arbitrarily set values for |
Beta Was this translation helpful? Give feedback.
Hi @maicoldubbio,
Great question! Here is a complete example of how all the scales can be extracted and MVMs can be performed using PWM and conductance values for the first tile of example 25 (https://github.com/IBM/aihwkit/blob/master/examples/25_torch_tile_lenet5_hardware_aware.py):