Better HN
topnewbestaskshowjobs
Log inSign up

SekstiNi

54 karma · joined Jul 26, 2020 (6y ago) · 23 submissions

Submissions

comment 2y ago · link · parent

> I wish it was possible to download that 36GB books3.tar in the wild these days.

There... is a torrent.

comment 2y ago · link · parent

There is one trained on 600B tokens from SlimPajama [1], but that's fairly tiny compared to other recent releases (ex. stablelm-3b [2] trained on 4T tokens).

> low quality data (the Pile only)

The Pile is pretty good quality wise. It's mostly the size (300B tokens) that's limiting.

[1]: https://huggingface.co/state-spaces/mamba-2.8b-slimpj [2]: https://huggingface.co/stabilityai/stablelm-3b-4e1t

comment 3y ago · link · parent

I've seen this sentiment echoed a lot, and I find it somewhat perplexing as my own twitter experience has been mostly pleasant.

Do people simply not bother curating their follows?

comment 3y ago · link · parent

> Apple Silicon was great because Apple had invested huge amounts of resources for a decade on smartphone processors first, not because they had some kind of geniuses on the project.

Given that they were confident enough to leave and start their own company, I'm not sure this is true. Indeed I wouldn't discount the value of high talent density.

> I’ll be skeptical of the hype until I see a real product.

They have shown real hardware demos [1] to reviewers already, and the numbers look solid. Obviously there are no comparisons vs M3 yet, but it seems promising.

[1]: https://www.anandtech.com/show/21112/qualcomm-snapdragon-x-e...

comment 3y ago · link · parent

There's actually a good reason. In short, a large portion of the apple silicon team ended up leaving a few years ago to could start a new company named Nuvia. Their goal was to produce high performance chips for the enterprise/server market, and they had some very aggressive performance targets [1].

Then, in early 2021 Qualcomm ended up acquiring Nuvia, and these new chips are the first showings of this acquisition. Naturally there's a lot of hype since said team represents a lot of the talent that made apple silicon so good in the first place.

[1]: https://images.anandtech.com/doci/15967/N2.png

6.

HuggingFace support and evals for Mistral's new 7B model(twitter.com ↗)

1 points · by SekstiNi · 3y ago · discuss

comment 3y ago · link · parent

Surprised people don't know about this, as it has been common knowledge in the SD community [1] since october last year. Strictly speaking you don't even need cuda 11.8+ to get the speedup; it's sufficient to use cuDNN 8.6+, though you should use the newest versions for other reasons.

[1]: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issu...

comment 3y ago · link · parent

They took down the blogpost, but from what I remember the model is composite and consists of a text encoder as well as 3 "stages":

1. (11B) T5-XXL text encoder [1]

2. (4.3B) Stage 1 UNet

3. (1.3B) Stage 2 upscaler (64x64 -> 256x256)

4. (?B) Stage 3 upscaler (256x256 -> 1024x1024)

Resolution numbers could be off though. Also the third stage can apparently use the existing stable diffusion x4, or a new upscaler that they aren't releasing yet (ever?).

> Once these are quantized (I assume they can be)

Based on the success of LLaMA 4bit quantization, I believe the text encoder could be. As for the other modules, I'm not sure.

edit: the text encoder is 11B, not 4.5B as I initially wrote.

[1]: https://huggingface.co/google/t5-v1_1-xxl

comment 3y ago · link · parent

> Interesting, though apparently the OPT175B model is 350GB:

Only in FP16. In the paper they use int4 quantization to reduce it to a quarter of that. In addition to the model weights, there's also a KV cache that takes up considerable amounts of memory, and they use int4 on that as well.

> I wonder what FlexGen is doing.. a naive guess is a mix of SSD and system memory.

That's correct, but other approaches have done this as well. What's "new" here seems to be the optimized data access pattern in combination with some other interesting techniques (prefetching, int4 quantization, CPU offload).

comment 3y ago · link · parent

That would indeed be linear time, but he doesn't make that suggestion as far as I can see.

comment 3y ago · link · parent

I had this happen to my XPS 15 when I was a student, and within 2 years of purchase the battery had degraded by 80%. If I recall correctly it would last about 20 minutes before abruptly turning off, making it completely useless as a laptop.

Absolutely maddening to hear that not only is this not an isolated issue, but it's also still not fixed (and apparently getting worse?).

comment 3y ago · link · parent

https://pytorch.org/get-started/pytorch-2.0/#requirements

comment 4y ago · link · parent

Here's a writeup exploring this very topic, and showing how Go's generics will currently give worse performance than just using an interface.

https://planetscale.com/blog/generics-can-make-your-go-code-...

comment 4y ago · link · parent

Just to be sure, you did compile the Rust program using the --release flag?

comment 4y ago · link · parent

Depends on how much of the screen is being refreshed, among other factors, but for writing the rM2 is apparently down to 24ms. [1]

[1] https://www.youtube.com/watch?v=c5XUTnPQ5i4

comment 4y ago · link · parent

The Firestorm cores are capable of issuing two 128bit stores per cycle [1], giving a bandwidth of 102.4 GBps. This matches the experiments by Andrei with mixed reads/writes [2], and I have personally verified that it is attainable for pure write workloads to L1 as well as L2.

This does not mean 102.4 GBps is achievable on a single core, but if L2 bandwidth is the limiting factor it very well could be.

[1] https://dougallj.github.io/applecpu/firestorm.html [2] https://www.anandtech.com/show/17024/apple-m1-max-performanc...

comment 5y ago · link · parent

Unfortunately, but expectedly, it cannot reason about it [1]. Even if it could I'm not sure it would be allowed to elide the allocation(s).

[1] https://godbolt.org/z/63xEcfaEE

comment 5y ago · link · parent

This is the way. Additionally I went into about:config and set browser.proton.enabled to false, which fixed most of the issues I had with the new design.

comment 5y ago · link · parent

From the article:

> Hitting nearly 1TFlops in the browser (50% of peak) is extremely empowering and it's exciting to see such technology available.

comment 5y ago · link · parent

Looking at the die shot [1], they have plenty of space for cores and cache if they remove the GPU. Surely it's not that simple, but I believe they should be able scale to at least 8+4 cores without large interconnect changes, and at that point they are already knocking on the 5900X's door.

[1] - https://images.anandtech.com/doci/16226/M1.png

comment 5y ago · link · parent

Interesting, I ran it on my laptop (i7-7700HQ) with the following results:

- 2-wise+ is 19% slower than 2-wise

- 3-wise is 48% slower than 2-wise

- 3-wise is 25% slower than 2-wise+

However, as mentioned in the post the numbers can vary a lot, and I noticed a maximum run-to-run difference of 23ms on two-wise.

comment 5y ago · link · parent

> There's not enough info to figure out what's going on.

If you only look at the article this is true. However, the source code is freely available: https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/...