Comments (8)
Great catch, thank you too, @my-vegetable-has-exploded! Would you have time to submit a patch?
I may need some time to familiarize myself with the project. Maybe several days later.
from simsimd.
@my-vegetable-has-exploded I think the best route is to upcast to 16-but and use dpwssd
.
from simsimd.
Great catch, thank you too, @my-vegetable-has-exploded! Would you have time to submit a patch?
from simsimd.
@my-vegetable-has-exploded, much appreciated! The CONTRIBUTING.md contents may help. The very first command should be enough to compile 🤗
from simsimd.
@my-vegetable-has-exploded, much appreciated! The CONTRIBUTING.md contents may help. The very first command should be enough to compile 🤗
Sorry, I meet some problems. The situation of my codes is computing dot product of int8 after quantization, I can promise that all numbers fall in [-127,127] in this situation. So it is okay to convert -x*y
to x*-y
and use dpbusd (product of unsigned and signed) to compute the result for me. But if without this gurantee, 0 - (-128) = 128 would overflow.
from simsimd.
@my-vegetable-has-exploded not sure about what you mean, but your Rust snippet looked reasonable. I think adjusting the C variant in this repo to work the same way is the way to go 🤷♂️
from simsimd.
@my-vegetable-has-exploded not sure about what you mean, but your Rust snippet looked reasonable. I think adjusting the C variant in this repo to work the same way is the way to go 🤷♂️
For example, we have a=[1,-2,3,-4] and b=[11,12,13,14]. We would convert it to a'=[1,2,3,4], b'=[11,-12,13,-14]. But if b=[-128,-128,-128,-128], than b'=[128,128,128,128], 128 would overflow in 8bit presentation.
from simsimd.
🎉 This issue has been resolved in version 3.9.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
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
- How to work with OutputDistances object? HOT 5
- AttributeError: module 'SimSIMD' has no attribute 'cosine' HOT 6
- Need clarity HOT 1
- I want to add the simsimd to xmake's package management tool and have encountered some error. HOT 3
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.