meinardmueller / libtsm Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Hello,
libtsm
fails to install (via pip
) on a Mac with an Apple Silicon ARM CPU.
Not sure if there will be other issues as well, but for now it seems to be the dependency onto llvmlite
/numba
, which don't support Apple Silicon yet, see: numba/llvmlite#799.
Here's the error I'm seeing:
Building wheels for collected packages: numba, llvmlite
Building wheel for numba (setup.py) ... done
Created wheel for numba: filename=numba-0.55.1-cp39-cp39-macosx_12_0_arm64.whl size=2307917 sha256=[hash]
Stored in directory: /Users/[user]/Library/Caches/pip/wheels/60/f4/43/[hash]
Building wheel for llvmlite (setup.py) ... error
error: subprocess-exited-with-error
I opened this issue here to track Apple Silicon support, but as it doesn't seem to be an issue with libtsm
itself, feel free to close it.
Thanks!
I had a division by zero problem while using the wsola_tsm() function:
.../lib/python3.8/site-packages/libtsm/tsm.py:111: RuntimeWarning: invalid value encountered in true_divide
ipa_sample = omega + hpi / ana_hop[i] # instantaneous phase advances per sample
.../lib/python3.8/site-packages/libtsm/tsm.py:209: RuntimeWarning: divide by zero encountered in true_divide
min_fac = np.min(syn_hop / ana_hop[1:]) # the minimal local stretching factor
You could add an exception for the case where an index of the "ana_hop" variable is 0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.