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

New styles of event-driven computation operators #35

Merged
merged 12 commits into from
Nov 13, 2024
Merged

New styles of event-driven computation operators #35

merged 12 commits into from
Nov 13, 2024

Conversation

chaoming0625
Copy link
Member

This pull request includes several changes across multiple files to add new features, improve existing functionality, and update licensing information. The most important changes are summarized below:

New Features and Implementations:

  • Added new implementations for the benchmark files COBA_2005.py and CUBA_2005.py, including detailed documentation, initialization of network parameters, and simulation functions. [1] [2]

Licensing Updates:

  • Added Apache License 2.0 headers to multiple files to ensure proper licensing and compliance. [1] [2] [3]

Codebase Enhancements:

  • Updated brainstate/event/__init__.py to include imports from the new _xla_custom_op module, and adjusted the __all__ list accordingly.
  • Refactored brainstate/event/_csr.py to improve parameter naming and add support for new size types. Updated the CSRLinear class and its methods for better clarity and functionality. [1] [2] [3] [4] [5] [6] [7]

Testing and Benchmarking:

  • Added new benchmarking scripts in brainstate/event/_fixed_probability_benchmark.py to measure performance improvements and acceleration ratios.
  • Updated tests in brainstate/event/_fixed_probability_test.py to use the new FixedProb module path and ensure proper functionality. [1] [2]

@chaoming0625 chaoming0625 merged commit 30ba97a into main Nov 13, 2024
18 of 22 checks passed
@chaoming0625 chaoming0625 deleted the update branch November 13, 2024 02:37
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.

1 participant