Skip to content

Remove numba type signature to prevent compilation of numba functions at import#2932

Merged
h-mayorquin merged 2 commits intoSpikeInterface:mainfrom
zm711:test-no-jit-signature
May 30, 2024
Merged

Remove numba type signature to prevent compilation of numba functions at import#2932
h-mayorquin merged 2 commits intoSpikeInterface:mainfrom
zm711:test-no-jit-signature

Conversation

@zm711
Copy link
Copy Markdown
Member

@zm711 zm711 commented May 30, 2024

https://numba.discourse.group/t/reducing-import-time/1072/8

This discussion says that providing type signatures gives type checking, but then leads to eager compilation. This PR tests removing that to see if it speeds import time.

@zm711 zm711 changed the title [No-Merge] Test fix remove numba type signature for improving import time Remove numba type signature to prevent recompilation of numba functions May 30, 2024
@zm711 zm711 changed the title Remove numba type signature to prevent recompilation of numba functions Remove numba type signature to prevent compilation of numba functions May 30, 2024
@zm711 zm711 changed the title Remove numba type signature to prevent compilation of numba functions Remove numba type signature to prevent compilation of numba functions at import May 30, 2024
@h-mayorquin h-mayorquin added packaging Related to packaging/style performance Performance issues/improvements labels May 30, 2024
@h-mayorquin h-mayorquin merged commit f925c44 into SpikeInterface:main May 30, 2024
@alejoe91 alejoe91 added the hackathon-24 Contributions during the SpikeInterface Hackathon May 24 label Jun 1, 2024
h-mayorquin added a commit to h-mayorquin/spikeinterface that referenced this pull request Jun 1, 2024
Co-authored-by: Heberto Mayorquin <h.mayorquin@gmail.com>
@zm711 zm711 deleted the test-no-jit-signature branch April 25, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hackathon-24 Contributions during the SpikeInterface Hackathon May 24 packaging Related to packaging/style performance Performance issues/improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants