Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowStep device based on Fusi & Abott synapse model #192

Merged
merged 6 commits into from
Apr 6, 2021
Merged

PowStep device based on Fusi & Abott synapse model #192

merged 6 commits into from
Apr 6, 2021

Conversation

maljoras
Copy link
Collaborator

@maljoras maljoras commented Apr 5, 2021

Related issues

#181

Description

Implements a new device model class (PowStepDevice) based on Fusi & Abott (2007).

Example:

import matplotlib.pyplot as plt
from aihwkit.utils.visualization import plot_device_compact
from aihwkit.simulator.configs.devices import PowStepDevice

plt.ion()
plot_device_compact(
    PowStepDevice(w_min=-1, w_max=1, dw_min=0.01, pow_gamma=1.1, pow_gamma_dtod=0.5,
                  pow_up_down=0.2, w_min_dtod=0.0, w_max_dtod=0.0), n_steps=1000)
plt.show()

image

@@ -330,6 +333,43 @@ rule instead of plain SGD. Once the configuration is done, the usage
of this complex analog tile for testing or training from the user
point of view is however the same as for other tiles.

Mixed Precision Compound
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Member

@diego-plan9 diego-plan9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I added a commit merging the changes from master (as a couple of small conflicts were introduced after merging #191 ), and should be good to go.

@diego-plan9 diego-plan9 merged commit a30e30f into IBM:master Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants