Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into spinnaker_start
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Mar 7, 2024
2 parents bd1197a + df6a8d0 commit d441ecc
Show file tree
Hide file tree
Showing 26 changed files with 530 additions and 227 deletions.
44 changes: 25 additions & 19 deletions .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Copyright (c) 2020 The University of Manchester
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# https://www.apache.org/licenses/LICENSE-2.0
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This workflow will install Python dependencies, run lint and rat with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
Expand All @@ -23,28 +22,28 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Checkout SupportScripts
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: SpiNNakerManchester/SupportScripts
path: support

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pip, etc
uses: ./support/actions/python-tools
- name: Install Spinnaker Dependencies
uses: ./support/actions/checkout-spinn-deps
uses: ./support/actions/install-spinn-deps
with:
repositories: >
SpiNNUtils SpiNNMachine SpiNNMan PACMAN DataSpecification spalloc
SpiNNUtils SpiNNMachine SpiNNMan PACMAN spalloc
SpiNNFrontEndCommon sPyNNaker
install: true

Expand All @@ -60,17 +59,24 @@ jobs:
uses: ./support/actions/pylint
with:
package: balanced_random learning sudoku synfire
exitcheck: 39

validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Checkout SupportScripts
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: SpiNNakerManchester/SupportScripts
path: support
- name: Run rat copyright enforcement
if: matrix.python-version == 3.8
if: matrix.python-version == 3.12
uses: ./support/actions/check-copyrights
with:
config_file: rat_asl20.xml

- name: Validate CITATION.cff
if: matrix.python-version == 3.12
uses: dieghernan/cff-validator@main
1 change: 0 additions & 1 deletion .ratexcludes
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
**/SpiNNMachine/**
**/SpiNNMan/**
**/PACMAN/**
**/DataSpecification/**
**/spalloc/**
**/SpiNNFrontEndCommon/**
**/sPyNNaker/**
Expand Down
108 changes: 108 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Copyright (c) 2017 The University of Manchester
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

cff-version: 1.2.0
message: If you use this software, please cite it as below.
preferred-citation:
type: article
doi: 10.3389/fnins.2018.00816
issn: 1662-453X
url: https://www.frontiersin.org/articles/10.3389/fnins.2018.00816
title: "sPyNNaker: A Software Package for Running PyNN Simulations on SpiNNaker"
journal: Frontiers in Neuroscience
volume: 12
year: 2018
month: 11
abstract: This work presents sPyNNaker 4.0.0, the latest version of the software package for simulating PyNN-defined spiking neural networks (SNNs) on the SpiNNaker neuromorphic platform. Operations underpinning realtime SNN execution are presented, including an event-based operating system facilitating efficient time-driven neuron state updates and pipelined event-driven spike processing. Preprocessing, realtime execution, and neuron/synapse model implementations are discussed, all in the context of a simple example SNN. Simulation results are demonstrated, together with performance profiling providing insights into how software interacts with the underlying hardware to achieve realtime execution. System performance is shown to be within a factor of 2 of the original design target of 10,000 synaptic events per millisecond, however SNN topology is shown to influence performance considerably. A cost model is therefore developed characterizing the effect of network connectivity and SNN partitioning. This model enables users to estimate SNN simulation performance, allows the SpiNNaker team to make predictions on the impact of performance improvements, and helps demonstrate the continued potential of the SpiNNaker neuromorphic hardware.
authors:
- given-names: Oliver
family-names: Rhodes
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0003-1728-2828
website: https://research.manchester.ac.uk/en/persons/oliver.rhodes
- given-names: Petrut
family-names: Bogdan
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0001-5535-7865
- given-names: Christian Y.
family-names: Brenninkmeijer
affiliation: University Of Manchester
email: christian.brenninkmeijer@manchester.ac.uk
orcid: https://orcid.org/0000-0002-2937-7819
website: https://www.researchgate.net/profile/Christian_Brenninkmeijer
- given-names: Simon
family-names: Davidson
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0001-5385-442X
website: https://research.manchester.ac.uk/en/persons/simon.davidson
- given-names: Donal
family-names: Fellows
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0002-9091-5938
website: https://www.researchgate.net/profile/Donal-Fellows
- given-names: Andrew
family-names: Gait
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0001-9349-1096
website: https://personalpages.manchester.ac.uk/staff/andrew.gait/
- given-names: David R.
family-names: Lester
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0002-7267-291X
- given-names: Mantas
family-names: Mikaitis
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0001-8706-1436
website: https://research.manchester.ac.uk/en/persons/mantas.mikaitis
- given-names: Luis A.
family-names: Plana
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0002-6113-3929
website: https://research.manchester.ac.uk/en/persons/luis.plana
- given-names: Andrew G. D.
family-names: Rowley
affiliation: University Of Manchester
email: Andrew.Rowley@manchester.ac.uk
orcid: https://orcid.org/0000-0002-2646-8520
website: https://www.researchgate.net/profile/Andrew_Rowley2
- given-names: Alan B.
family-names: Stokes
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0002-6110-1484
- given-names: Steve B.
family-names: Furber
affiliation: University Of Manchester
orcid: https://orcid.org/0000-0002-6524-3367
website: https://research.manchester.ac.uk/en/persons/steve.furber

title: These are the examples typically used in the Introduction to PyNN talks.
authors:
- name: SpiNNaker Software Team
alias: For a list of contributors see https://github.com/SpiNNakerManchester/IntroLab/graphs/contributors or for a combined list see https://spinnakermanchester.github.io/latest/LicenseAgreement.html#contributors
address: University of Manchester, Oxford Road
city: Manchester
country: GB
email: spinnakerusers@googlegroups.com
post-code: M13 9PL
website: https://apt.cs.manchester.ac.uk/projects/SpiNNaker/
url: https://spinnakermanchester.github.io/
contact:
- address: University of Manchester, Oxford Road
city: Manchester
country: GB
email: spinnakerusers@googlegroups.com
name: SpiNNaker Software Team
post-code: M13 9PL
license: Apache-2.0
repository: https://github.com/SpiNNakerManchester/IntroLab
Loading

0 comments on commit d441ecc

Please sign in to comment.