Comments (3)
Hi @Seedking! Thanks for your effort! It would great to have SimSIMD in xmake!
The 2 issues your are seeing are unrelated to each other.
For the second issue, there are a couple of ways to fix it. Either avoid native f16
support entirely, by overriding SIMSIMD_NATIVE_F16=0
. The second option would be to find a better way to infer native f16
support here:
SimSIMD/include/simsimd/types.h
Lines 167 to 194 in 3e51bac
It would be amazing if you could submit a patch for the f16
resolution here. It would help me a lot, and will be immediately used in USearch and several databases.
For the first issue, I suspect something is wrong with the following Clang/GCC __attribute__
:
SimSIMD/include/simsimd/spatial.h
Lines 303 to 305 in 3e51bac
It works fine in my pipelines, so can you please share the hardware you are running on and the compiler version.
from simsimd.
I have added it to xmake-repo. xmake-io/xmake-repo#3409
native f16 will be disabled now if _Float16 does not exist.
if not package:has_ctypes("_Float16") then
package:add("defines", "SIMSIMD_NATIVE_F16=0")
end
from simsimd.
thank you answer! i will try to add all your repo to xmake
from simsimd.
Related Issues (20)
- Sparse Distances
- main-dev tests main? HOT 3
- Will not work in a Vercel instance HOT 24
- Jaccard in parallel? simsimd.cdist HOT 5
- Disabling usage of AVX-512 instructions HOT 8
- AVX2 popcount implementation HOT 5
- Golang: '_Float16' is not supported on this target HOT 4
- simsimd not working on AWS Lambda public image HOT 20
- Complex vectors for Fourier representations, Image processing, DSP, and Quantum states HOT 1
- Packaging SIMD code in Windows bindings HOT 2
- Plan for BF16 datatype ? HOT 1
- Expose binary distances and divergence functions in Rust HOT 4
- Can't install on institutional linux cluster HOT 6
- Generalizing to complex dot-products and cosine distances for Physics and DSP
- Add covariance estimators
- simsimd_avx512_i8_cos under vnni HOT 8
- How to work with OutputDistances object? HOT 5
- AttributeError: module 'SimSIMD' has no attribute 'cosine' HOT 6
- Need clarity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simsimd.