Halide
qoi
Our great sponsors
Halide | qoi | |
---|---|---|
43 | 25 | |
5,683 | 6,702 | |
1.1% | - | |
9.5 | 6.4 | |
2 days ago | 4 days ago | |
C++ | C | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Halide
-
Show HN: Flash Attention in ~100 lines of CUDA
If CPU/GPU execution speed is the goal while simultaneously code golfing the source size, https://halide-lang.org/ might have come in handy.
-
From slow to SIMD: A Go optimization story
This is a task where Halide https://halide-lang.org/ could really shine! It disconnects logic from scheduling (unrolling, vectorizing, tiling, caching intermediates etc), so every step the author describes in the article is a tunable in halide. halide doesn't appear to have bindings for golang so calling C++ from go might be the only viable option.
- Making Hard Things Easy
-
Deepmind Alphadev: Faster sorting algorithms discovered using deep RL
It is not the sorting per-se which was improved here, but sorting (particularly short sequences) on modern CPUs with really the complexity being on the difficulty of predicting what will work quickly on these modern CPUs.
Doing an empirical algorithm search to find which algorithms fit well on modern CPUs/memory systems is pretty common, see e.g. FFTW, ATLAS, https://halide-lang.org/
-
Two-tier programming language
Halide https://halide-lang.org/
- Best book on writing an optimizing compiler (inlining, types, abstract interpretation)?
-
What would make you try a new language?
If we drop the "APL" requirement, wouldn't Halide fit your criteria for the third?
-
Library that could generate vectorized code for different instruction sets?
Adobe halide https://github.com/halide/Halide
-
Show HN: Port of OpenAI's Whisper model in C/C++
I suggest looking into Halide as it will make trying different paths much easier (https://halide-lang.org/).
I haven't looked at your code closely so can't say with certainty it would be the right fit but worth a look.
-
Esp32 tensorflow lite
Halide home page: https://halide-lang.org/
qoi
- CPNG, a backwards compatible fork of PNG
- PSA: Use ZopfliPNG to compress your PNG assets
-
The most famous picture used as a standard in computer science is nudes from Playboy!
And people are really nice about asking for ceasing its use too..
How do you know it's not a problem for the people who work with computer vision? Let's take this for example - sure, the request itself was presented very unprofessionally, but this is still an example of someone in a computer vision-adjacent field stating in no uncertain terms that they have a problem with the image.
- What’s the best lossless image format?
-
QOI – The Quite OK Image Format
I don't know about CUDA, however I've made an AVX2 based encoder a few months ago : https://github.com/phoboslab/qoi/pull/143
I intend to create an AVX2 based decoder but I had absolutely no time to work on side projects in the past three months.
You might also want to take a look at this streaming encoder if you want to encode large files with a tiny memory footprint : https://github.com/MKCG/php-qoi/blob/main/src/FFI/lib/qoi.c
- QOI – The “Quite OK Image Format” for fast, lossless image compression
-
Losslessly compresses RGB and RGBA images to a similar size of PNG, while offering a 20x-50x speedup in compression and 3x-4x speedup in decompression
The spec finalization was extended to Dec 20.
-
The Quite OK Image File Format Specification: A Single Page PDF
What exactly do you mean with "edge cases"? For what it's worth, the decoder has been fuzzed[1] and the benchmark suite[2] with 2800 images en-/ and decodes without losing any pixels, as checked by qoibench[3].
[1] https://github.com/phoboslab/qoi/blob/master/qoifuzz.c
[2] https://qoiformat.org/benchmark/
[3] https://github.com/phoboslab/qoi/blob/master/qoibench.c#L440...
-
December 2021 What Are You Working On?
Here is link number 1 - Previous text "QOI"
What are some alternatives?
PNG-spec - Maintenance of the PNG specification
libjxl - JPEG XL image format reference implementation
Zpng - Better lossless compression than PNG with a simpler algorithm
taichi - Productive, portable, and performant GPU programming in Python.
fpng - Super fast C++ .PNG writer/reader
qoi2-bikeshed - "Quite OK Image" version 2 discussions
futhark - :boom::computer::boom: A data-parallel functional programming language
Image-Convolutaion-OpenCL
qoi - A rust implementation of the “Quite OK Image” format for fast, lossless image compression
TensorOperations.jl - Julia package for tensor contractions and related operations
triton - Development repository for the Triton language and compiler
ASFML - Ada binding to the SFML library