Basic example hangs in 0.4dev
See original GitHub issueThe basic example in the README hangs when using UMAP from the master or 0.4dev branch.
import umap
from sklearn.datasets import load_digits
digits = load_digits()
embedding = umap.UMAP().fit_transform(digits.data)
If I do
pip install umap-learn
then the code works as expected (taking only 5-10 seconds). However, it hangs when using a version of UMAP built from the 0.4dev branch or master. It looks like it is doing something since I see the message
/home/gclenden/anaconda3/envs/umap_debug/lib/python3.7/site-packages/umap/spectral.py:243: UserWarning: Embedding a total of 2 separate connected components using meta-embedding (experimental)
n_components
I think the commit where this occurs is https://github.com/lmcinnes/umap/commit/eb6774056aa5fc8a858d466eaba4a1cb35c978ae. It works as expected on the commit prior to that one https://github.com/lmcinnes/umap/commit/c26bc8dac3e8fc71a4221986cf3cf0926b573766. However, I don’t know enough about numba/tbb to explain why this might be happening.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
numba/numba - Gitter
parallel writes (prange) to dicts with tuple as key crashes it. Tesla42. @tesla42: ...
Read more >How to Build a USRP Development Environment Under Linux ...
When operating under Windows, the firmware and FPGA can be written/ updated through the NI-USRP Configuration Utility software, as shown in ...
Read more >User Mode Linux HOWTO — The Linux Kernel documentation
This allows the device to be opened, in contrast to 'none', but reads will block, and writes will succeed and the data will...
Read more >Install and use projectM music visualizer with pulseaudio ...
Hi all, I have included johnl's fix for the cmake error in the main howto - thanks to johnl for pointing out this...
Read more >libwebkit2gtk-4.0-37: bullseye backport crashes a lot on arm64
and click some link (for example, "new" or "login"); or navigate to ... #25 0x0000ffff7cfdfe18 in __libc_start_main (main=0x400878 <__wrap_main>, argc=3, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
One thing to try would be rolling back to numba=0.46 and llvmlite=0.30. There were defintiely some issues there, but that may not be this problem. I’ll try to look in more detail tomorrow. Worst case you can probably remove the requirement and uninstall tbb to get things working.
It turns out that it is an issue specific to numba 0.47 (there was bug; see numba/numba:#5087). The current master (which has 0.4dev merged in) updates the requirements files accordingly. I will update 0.4dev as well, but people should start working from master now.