Skip to content

Simulating Neuron from model Hodgkin–Huxley with help ODE Solver.

License

Notifications You must be signed in to change notification settings

Apogeum12/benchmark_ytLip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark simulating biological Neuron Model:

Multicore cpu and gpu Benchmark. But in fact it is simulation hodgkin huxley model neuron. Where for computing Ordinary Differential Equations i used Differentiable ODE solver method.

Script

Benchmark in script version for Linux:

Installation

  • In Directly benchmark_ytLip/
sudo apt install python3-venv
python3 -m venv benchmark_script
source benchmark_script/bin/activate 

Install package:

pip3 -r package.txt
 sudo apt install python3-tk 

Install torchdiffeq

pip3 install git+https://github.com/rtqichen/torchdiffeq

Benchmark in script version for Windows:

Installation

(IN PROGRESS)

App verssion

Maybe in future ^ ^

Run:

In directly folder benchmark_script

  • [--h] Num Hiden Neuron; [--i] Num input Size; [--d] Device choice; [--t] Test Size
  • If Dont put Neuron Hidden num then Hidden_size is equal => 2 * sqrt(Input_size)
python3 bench.py --i 2048 --d cpu --t 10
## Plan
- Notebook cpu version (DONE)
- Support gpu (DONE)
- Shell Script (Done)
- App Linux (In progress)
- App Windows
- ...

About

Simulating Neuron from model Hodgkin–Huxley with help ODE Solver.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages