-
Notifications
You must be signed in to change notification settings - Fork 60
Optimize GCLDAModel with numba and Parallel
#744
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
Draft
JulioAPeraza
wants to merge
19
commits into
neurostuff:main
Choose a base branch
from
JulioAPeraza:gclda-numba
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
091b420
Use numba in for loop of _update_word_topic_assignments and _update_p…
JulioAPeraza 4e7ca79
Convert staticmethod to function
JulioAPeraza daf4962
Disable numba execution to allow pytest-cov to detect coverage in fun…
JulioAPeraza 0d86fba
`DISABLE_JIT=True` only for GCLDA tests
JulioAPeraza 1502f2b
`DISABLE_JIT=True` inside GCLDA tests
JulioAPeraza 6844ce0
`DISABLE_JIT=False` after GCLDA tests
JulioAPeraza d61fff7
Fix comments
JulioAPeraza 63b46d4
Disable JIT using environment variable
JulioAPeraza 2abaf9a
Lint issue
JulioAPeraza 1e985e0
Try using `config.DISABLE_JIT` again
JulioAPeraza 694a632
Set `nopython` mode to False
JulioAPeraza f263e32
Remove truncation of `probs_pdf`
JulioAPeraza e818cf9
Use Parallel in _update_peak_assignments
JulioAPeraza 0c07abc
Speed parallelization by avoiding excessive `.copy()` across jobs
JulioAPeraza 5870c3d
Create chunks of data to speed up Parallel
JulioAPeraza 4e12046
Clean up the code
JulioAPeraza dc2ac6c
Use an array of seeds for multi-core reproducibility of default_rng()…
JulioAPeraza fc7c5e6
Update gclda.py
JulioAPeraza 0d2939c
Parallelize `_update_word_topic_assignments()`
JulioAPeraza File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.