edge-runtime
vecs
edge-runtime | vecs | |
---|---|---|
5 | 3 | |
563 | 191 | |
3.4% | 1.6% | |
9.6 | 8.7 | |
5 days ago | 2 months ago | |
Rust | Python | |
MIT License | Apache License 2.0 |
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.
edge-runtime
-
Supabase – General Availability Week
- Functions have a critical bug that prevent us from using in development so we decided to move to our own API servers: https://github.com/supabase/edge-runtime/issues/212
-
Edge Functions: Node and native NPM compatibility
source: https://github.com/supabase/edge-runtime
we needed this to get feature parity across local, the platform, and self-hosting
-
Edge Functions: Node and native npm compatibility
Refactoring the module loader fixes a few other bugs, such edge functions erroring out when an deno.lock file is already present in the project.
-
Hugging Face is now supported in Supabase
Cold-starts are the time it takes for the “initial load” of an Edge Function. Because the model needs to be downloaded to the Edge Function, could starts can take anywhere from ~2-6s (based on the model). Loading the initial model and building the pipeline usually contributes to it. We are experimenting with the idea of attaching a “read-only disk” of models to our Edge Runtime which mitigate any download penalties. We’ll share more details about these optimizations in a future blog post.
-
Supabase Edge Runtime: Self-Hosted Deno Functions
[Supabase engineer & Author of the blog post]
Hi Mark, hosted Supabase Edge Functions would still run on Deno Deploy, so those limitations would still exist. However, we plan to introduce file system access via integration with Supabase Storage. This is still a rough idea stage, maybe we'll have a solid answer in a couple of months :)
For dynamic imports, we haven't looked into it since Supabase users haven't requested it. If you can open an issue on Edge Runtime repo [0] and explain how you intend to use them, we can probably work on a solution.
[0] https://github.com/supabase/edge-runtime/issues
vecs
-
Hugging Face is now supported in Supabase
supabase/vecs is our Python client for vector projects. Today, we're releasing a new feature for vecs called "adapters".
hey hn, supabase ceo here.
This is an iteration of several things that we’ve developed to support Hugging Face.
1. Python adapters. The first is our python lib, Vecs [0], which now supports “adapters”. Adapters are simply a pipeline of transformations that an input goes through (for example: split the text into chunks, then turn it into an embedding). We’ve included support for Hugging Face sentence transforms to automatically download the models on first run, and then cache them for subsequent runs.
2. Deno support. I want to start by pointing out that most of the hard work to support Hugging Face in Javascript is through Joshua’s continued efforts on Transformers.js (Joshua is an employee at HF). To support this effort we’re rolling out support across all of the Supabase Edge Functions. We’ve started with sentence embeddings for now since that’s the most common use-case for pgvector.
At the moment 98% of Supabase customers use OpenAI to create embeddings in pgvector. With today’s release we’re hoping to add more options, especially for situations where fewer dimensions are viable (for better pgvector performance[2])
A few of the supabase engineers will be in the comments to answer any questions, as well as Joshua from HF (@xenova on HN)
[0] Vecs: https://github.com/supabase/vecs/
[1] Transformers.js: https://huggingface.co/docs/transformers.js/index
[2] pgvector performance with lower dimensions: https://supabase.com/blog/fewer-dimensions-are-better-pgvect...
-
Vecs: Vector Store Client backed by PostgreSQL/pgvector
Vecs is a python client storing and searching vectors backed by Postgres and pgvector. It gives a familiar collection-like interface to upserting and searching.
What are some alternatives?
postgres_lsp - A Language Server for Postgres
kickstart - My interpretation of an endless library
pgvector - Open-source vector similarity search for Postgres
extism - The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.
braid-spec - Working area for Braid extensions to HTTP
windmill - Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
deno - A modern runtime for JavaScript and TypeScript.
eszip - A compact file format to losslessly serialize an ECMAScript module graph into a single file
supabase - The open source Firebase alternative.
deploy_feedback - For reporting issues with Deno Deploy
self-hosted-edge-functions-demo - A demo of how to self-host Supabase Edge Functions on Fly.io