Better HN
topnewbestaskshowjobs
Log inSign up

tmostak

642 karma · joined Mar 29, 2012 (14y ago) · 218 submissions

Twitter: @toddmostak
Submissions

1.

GPU database HeavyAI (formerly MapD) is now open source(twitter.com ↗)

1 points · by tmostak · 3w ago · discuss

2.

GPU-Accelerated Presto(prestodb.io ↗)

3 points · by tmostak · 5mo ago · discuss

comment 5mo ago · link · parent

GPU-accelerated databases have a long history. I founded HeavyAI (previously MapD/OmniSci) in 2013, but there are or have been many other startups in this space, such as Voltron Data, Kinetica, Sqream, etc. And now you have major players like IBM, Starburst, and Microsoft (which just announced Fabric SQL on GPU today) working on their own GPU-accelerated systems. GPUs have a huge advantage in terms of compute, memory, and interconnect bandwidth over CPU, as long as you can keep them fed with data.

I believe within 2-3 years databases and data warehouses on GPU will be common. The widespread use of agents to query data will be a part of this, as there will be a need to run far more queries at lower latency than needed for the ETL and BI workloads of the past.

comment 9mo ago · link · parent

Evidence (preferably with recent Teslas/HW4)?

comment 9mo ago · link · parent

Evidence of this? I own a Tesla (HW4, latest FSD) as well as have taken many Waymo rides, and have found both to react well to unpredictable situations (i.e. a car unexpectedly turning in front of you), far more quickly than I would expect most human drivers to react.

This certainly may have been true of older Teslas with HW3 and older FSD builds (I had one, and yes you couldn't trust it).

comment 9mo ago · link · parent

Do you have data to back this claim up, specifically with HW4 (most recent hardware) and FSD software releases?

comment 1y ago · link · parent

Even without NVLink C2C, on a GPU with 16XPCIe 5.0 lanes to host, you have 128GB/sec in theory and 100+ GB/sec in practice bidirectional bandwidth (half that in each direction), so still come out ahead with pipelining.

Of course prefix sums are often used within a series of other operators, so if these are already computed on GPU, you come out further ahead still.

comment 1y ago · link · parent

We've made extensive use of perfect hashing in HeavyDB (formerly MapD/OmniSciDB), and it has definitely been a core part of achieving strong group by and join performance.

You can use perfect hashes not only the usual suspects of contiguous integer and dictionary-encoded string ranges, but also use cases like binned numeric and date ranges (epoch seconds binned per year can use a perfect hash range of one bin per year for a very wide range of timestamps), and can even handle arbitrary expressions if you propagate the ranges correctly.

Obviously you need a good "baseline" hash path to fall back to you, but it's surprising how many real-world use cases you can profitably cover with perfect hashing.

9.

Fast geospatial aggregation and visualization with Uber H3(heavy.ai ↗)

1 points · by tmostak · 1y ago · discuss

10.

Benchmarking geospatial join performance on GPU vs. CPU(heavy.ai ↗)

1 points · by tmostak · 1y ago · discuss

11.

Benchmarking a GPU database against CPU data warehouses(heavy.ai ↗)

1 points · by tmostak · 1y ago · discuss

12.

Interactively Explore 20 Billion Records of Ship AIS Data Using a Single GPU(heavy.ai ↗)

1 points · by tmostak · 1y ago · discuss

comment 1y ago · link · parent

This looks amazing!

Just looking through the code a bit, it seems that the model both supports a (custom) attention mechanism between features and between rows (code uses the term items)? If so, does the attention between rows help improve accuracy significantly?

Generally, for standard regression and classification use cases, rows (observations) are seen to be independent, but I'm guessing cross-row attention might help the model see the gestalt of the data in some way that improves accuracy even when the independence assumption holds?

comment 1y ago · link · parent

You should be able to train/full-fine-tune (i.e. full weight updates, not LoRA) a much larger model with 96GB of VRAM. I generally have been able to do a full fine-tune (which is equivalent to training a model from scratch) of 34B parameter models at full bf16 using 8XA100 servers (640GB of VRAM) if I enable gradient checkpointing, meaning a 96GB VRAM box should be able to handle models of up to 5B parameters. Of course if you use LoRA, you should be able to go much larger than this, depending on your rank.

15.

Benchmarking a GPU-Accelerated Database Against CPU Data Warehouses(heavy.ai ↗)

1 points · by tmostak · 1y ago · discuss

16.

Benchmarking GPU-Accelerated HeavyDB Against CPU Data Warehouses(heavy.ai ↗)

4 points · by tmostak · 2y ago · discuss

17.

Embed AI fuzzy logic into your SQL(heavy.ai ↗)

2 points · by tmostak · 2y ago · discuss

comment 2y ago · link · parent

This assumes that you can linearly scale up the number of TPUs to get equal performance to Nvidia cards for less cost. Like most things distributed, this is unlikely to be the case.

19.

Exploring 36 years of FAA flight data with AI and a GPU Database(tech.marksblogg.com ↗)

1 points · by tmostak · 2y ago · 1 comment

20.

Exploring 36 years of FAA flight data with AI and a GPU Database(tech.marksblogg.com ↗)

9 points · by tmostak · 2y ago · 1 comment

comment 2y ago · link · parent

Are you measuring tokens/sec or words per second?

The difference matters as generally in my experience, Llama 3, by virtue of its giant vocabulary, generally tokenizes text with 20-25% less tokens than something like Mistral. So even if its 18% slower in terms of tokens/second, it may, depending on the text content, actually output a given body of text faster.

comment 2y ago · link · parent

But it's likely to be much slower than what you'd get with a backend like llama.cpp on CPU (particularly if you're running on a Mac, but I think on Linux as well), as well as not supporting features like CPU offloading.

comment 2y ago · link · parent

Thank you, it's been a major team effort!

24.

Show HN: Use natural language to query and visualize 400M tweets(demo-heavyiq.heavy.ai ↗)

11 points · by tmostak · 2y ago · 3 comments

comment 2y ago · link · parent

More info can be found here: https://www.heavy.ai/heavyiq/overview

26.

Explore 400M tweets with LLM-powered conversational analytics(demo-heavyiq.heavy.ai ↗)

2 points · by tmostak · 2y ago · 1 comment

comment 2y ago · link · parent

HEAVY.AI | SQL Analyst/Wrangler | Part-time or Full-time | Remote

HEAVY.AI builds a GPU-accelerated analytics platform that allows users to interactively query and visualize billions of records of data in milliseconds.

We’re looking for someone who really knows SQL. If you can decipher schemas, figure out what’s wrong with SQL statements and correct them, as well as generate queries in response to user questions, we'd love to talk to you.

The work would initially be on contract, but could lead to full-time employment. Geospatial analytics, data science background, and Python programming skills would be very useful to have as well, but are not absolute requirements.

If interested please reach out to pey.silvester@heavy[dot]ai.

comment 2y ago · link · parent

These are awesome!

comment 3y ago · link · parent

I assume if MSFT/Satya are supportive it won't be an issue.

comment 3y ago · link · parent

It wasn't clear to me what evaluation method was being used, the chart in the blog says Execution Accuracy, but the numbers that seem to be used appear to correlate with "Exact Set Match" (comparing on SQL) instead of the "Execution With Values" (comparing on result set values). For example, DIN-SQL + GPT-4 achieves an 85.3% "Execution With Values" score. Is that what is being used here?

See the following for more info:

https://yale-lily.github.io/spider https://github.com/taoyds/spider/tree/master/evaluation_exam...

12345
8