Better HN
topnewbestaskshowjobs
Log inSign up

cheptsov

266 karma · joined Jun 20, 2017 (9y ago) · 161 submissions

Building @dstack
Submissions

comment 1y ago · link · parent

Hey HN, founder of dstack here. We've been working on this over three months and pretty excited about this release. Basically, the main point is that dstack is an open-source AI-native alternative to Kubernetes, designed to be more lightweight, and focusing just on AI workloads on both cloud and data-centers. With this release we are adding the critical feature that allows to run containers concurrently on same host slicing its resources incl. GPU for a more cost-efficient utilization. Another new thing is the simplified way to run things on private clouds where clusters are often behind a login node. There are many more cool things on our roadmap to ensure dstack is a streamlined alternative to both K8S and Slurm. Our roadmap can be found in [1] Super excited to hear any feedback.

[1] https://github.com/dstackai/dstack/issues/2184

comment 1y ago · link · parent

In this one we were only using 3.1 405B FP8. We took one model to simplify the setup and were mostly looking at the memory saturation effect. So basically we compared inference metrics of the same model. I suppose comparing 3.1 and 3.2 will be difficult as they are different models entirely. But open to ideas

comment 1y ago · link · parent

Yes, we should have included the price too—thanks for pointing that out. I forgot about it. Appreciate you adding the links here! And yes, Lambda's and Hot Aisle's prices were used in the calculation.

comment 2y ago · link · parent

Thank you for the question!

> What are the differences in opinions between dstack and SkyPilot?

SkyPilot is great. I think there are many tiny details though. At dstack, we try to provide out-of-the-box and more high-level experience.

Examples:

1. Authorization built-into services

2. Dev environments with IDE integration

3. HTTPS out of the box with an ability to set up own domains

4. Projects for team management and resource isolation

5. Hardware metrics tracking

Also, we try to distance from Kubernetes and improve our own orchestrator that natively integrates with cloud providers

> Same question could be posed to Modal.

Modal is great too. Modal's strengths is Python decorators and their focus on cloldstarts/serverless kind of experience.

dstack here is more about flexibility/multi-cloud/on-prem/etc. For example, I personally prefer being able to run any code with dstack without changing my code. Otehr people may prefer Python decorators.

> Aren’t you worried about the amount of product development that goes into Kubernetes and its ecosystem?

A very good question. I think its both a strength and a weakness of Kubernetes. So far we see that for us it's a lot easier to bring AI-native experience, simplify it, and make it more out of the box.

We of course respect K8S though. But we think the community to deserve options!

> What about democratic-csi?

Haven't seen it yet. Will look into it. At dstack, we support volumes for both cloud and on-prem.

> NVIDIA GPU Operator, AMD’s k8s device plugins

We aim to support any accelerators out of the box.

> Calico versus Cilium?

Haven't heard of it yet.

P.S.: Whould love to hear your opinion too!

comment 2y ago · link · parent

I guess it depends on the use case. For example with dstack, we focus on AI.

Our abstractions include:

1. Dev environments - you need them often and need an easy way to get one with tight GOU resources - either using already provisioned resources or provision on-demand

2. Tasks. For example, in AI you may want to run distributed tasks over a cluster using your favorite framework like pytroch

3. Services - very close to Docker Compose. And you can use it with dstack. But for you may want to also manage GPU requirements; and of course auto-scaling

4. Managing clusters. As an AI user you may want to provision them on-demand. This is what we call fleets with dstack.

5. Ingress for public endpoints. Dstack also handles authorization and OpenAI endpoint mapping - as it’s important for AI.

6. Finally you need to manage tenancies - isolate resources across projects or teams. With dstack, we call it projects.

comment 2y ago · link · parent

> Any explanation for how it simplifies orchestration.

There are many examples in the docs. Here are few:

1. ALl accelerators are supported natively (no operators are required).

2. Distributed task work out of the box [1]

3. For inference, OpenAI compatible gateway is provided automatically for any models deployed; along with authentication. [2]

4. Cluster management is a lot more convenient for AI compared to K8S [3]

More than anything else, dstack is more lightweight; no one need to know K8S.

I'm biased but we talk to a lot of users that choose dstack because they don't want to deal with K8S

>dstack supports NVIDIA GPU, AMD GPU, and Google Cloud TPU out of the box.

AWS accelerators are in the plan of course!

[1] https://dstack.ai/docs/reference/dstack.yml/task/#distribute...

[2] https://dstack.ai/docs/services

[3] https://dstack.ai/docs/concepts/fleets/

comment 2y ago · link · parent

Well,

1. No changes in the code required; Works out of the box with any Docker image; Incl. support for distributed training

2. Out-of-the-box support for AMD/NVIDIA/TPU

3. Multi-cloud, incl. Neoclouds such as Lambda, RunPod, TensorDock, and more to come

4. 5 min to set up your own on-prem cluster

5. Easye to combine multi-cloud + on-prem

6. On top of task, you get dev environments and model inference

comment 2y ago · link · parent

Oh, excited to see dstack featured here. Founder and core contributor to dstack here. Yes, we aim to simplify container orchestration for AI and build an alternative to both K8S and Slurm - for both multi-cloud and on-prem.

Would love to hear feedback!

comment 2y ago · link · parent

I can completely relate to anyone abandoning K8s. I'm working with dstack, an open-source alternative to K8s for AI infra [1]. We talk to many people who are frustrated with K8s, especially for GPU and AI workloads.

[1] https://github.com/dstackai/dstack

comment 2y ago · link · parent

Yes, to me, the report is interesting not because of the insights it offers, but because it raises more questions:

1. What about new AI chip vendors?

2. How will the price of compute change?

3. How will the demand for compute change?

4. How will the overall supply of chips change?

41.

Notable AI Models(epochai.org ↗)

25 points · by cheptsov · 2y ago · 5 comments

comment 2y ago · link · parent

Unfortunately, neither VLLM nor TGI support FP8 on AMD yet. But once they do, we will look into it.

comment 2y ago · link · parent

TL;DR

- We explore how the inference performance of Llama 3.1 405B varies on 8x AMD MI300X GPUs across vLLM and TGI backends in different use cases.

- TGI is highly efficient at handling medium to high workloads. In our tests on 8x AMD MI300X GPU, medium workloads are defined as RPS between 2 and 4. In these cases, it delivers faster time to first token (TTFT) and higher throughput.

- Conversely, vLLM works well with lower RPS but struggles to scale, making it less ideal for more demanding workloads.

- TGI's edge comes from its continuous batching algorithm which dynamically modifies batch sizes to optimize GPU usage.

If you have feedback, or want to help improve the benchmark, please let me know.

44.

Developing Rapidly with Generative AI at Discord(discord.com ↗)

1 points · by cheptsov · 2y ago · discuss

45.

Intel halts plans for flagship factories in Germany, Poland amid financial woes(euractiv.com ↗)

2 points · by cheptsov · 2y ago · discuss

46.

Telegram CEO's brother also wanted by French authorities(politico.eu ↗)

6 points · by cheptsov · 2y ago · 1 comment

comment 2y ago · link · parent

“Summing up: for the time being, if you run a social media company, or if you provide encrypted messaging services, which are accessible in France, and you’re based in the United States, get out of Europe.”

comment 2y ago · link · parent

Very interested in playing with their hardware and cloud. Also I wonder if it’s possible to try cloud without contacting their sales.

comment 2y ago · link · parent

Double that. The entire article reads to me as handpicked and manipulative.

comment 2y ago · link · parent

It’s called handpicking

comment 2y ago · link · parent

The author claims that everyone refers to Telegram as an encrypted messenger, but he only provides a single example to support that. I quickly checked Google News and couldn't find any media on the first page that did the same. It feels like a manipulation.

UPDATE: anyone who downvote, I invite to check for themselves.

Just a few known media:

1. https://www.aljazeera.com/amp/news/2024/8/25/telegram-messag...

2. https://www.washingtonpost.com/technology/2024/08/25/durov-t...

3. https://www.businessinsider.com/telegram-ceo-pavel-durov-arr...

4. https://www.theguardian.com/media/article/2024/aug/24/telegr...

However, indeed, I‘ve seen a few media that call it encrypted. This include France24, POLITICO, and The Times.

comment 2y ago · link · parent

https://archive.ph/IybwU

53.

Mark Zuckerberg and Daniel Ek on why Europe should embrace open-source AI(economist.com ↗)

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

comment 2y ago · link · parent

That’s on our list! We’re actually planning to expand our examples page with a lot more frameworks! Contributors are very welcome to our repo: https://github.com/dstackai/dstack/tree/master/examples/

comment 2y ago · link · parent

Oops, thanks for sharing this! Gonna update it shortly.

comment 2y ago · link · parent

Hi, I’m one of the contributors to dstack! Yes, you’re absolutely right—the title is a bit off. It should be "K8S for AI Teams Only." And yes, there is a lot of focus on LLMs specifically. If you have any other feedback, please share it!

57.

Nous Hermes 3 and exploiting underspecified evaluations(interconnects.ai ↗)

2 points · by cheptsov · 2y ago · discuss

comment 2y ago · link · parent

I’m not a fan of Musk but it is so funny to see that many haters here.

comment 2y ago · link · parent

Profs?
123456