Better HN
topnewbestaskshowjobs
Log inSign up

devit

4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions

Submissions

comment 1y ago · link · parent

Perhaps your card has less per-SM shared memory than the GPUs DeepSeek uses.

Try to lower the sm90_capacity value in gemm.py: I think 128KB is the correct value for RTX 5080 compared to 256KB for the H100/H800.

And probably add ", 3, 2, 1" after "6, 5, 4".

comment 1y ago · link · parent

Multiply FP8 matrices with FP32 scaling factors giving a bfloat16 matrix result on an nVidia Hopper or newer GPU.

comment 1y ago · link · parent

This seems to be a problem with rocket/lander technology resulting in a ~900kg weight limit on Curiosity.

According to Internet searches, Starship can bright 100 tons to Mars surface.

A common large Earth backhoe seem to weight 20 tons, so with Starship you can just ship one and it will be capable of driving at normal speeds (up to 100km/h), excavating for meters and not centimeters, etc.

(obviously it would need adaptations since diesel engines need air that isn't present on Mars and EV batteries might have problems with the cold, but it would be a similar weight magnitude)

comment 1y ago · link · parent

Doesn't seem to be a noticeable improvement from N64-era graphics.

It probably needs generative AI based upscaling to high resolution meshes, textures and realistic materials to actually achieve a quality improvement.

comment 1y ago · link · parent

That would be a good start as the current syntax is absurd.

comment 1y ago · link · parent

I wonder if a multiplexer would be feasible?

Hardware-wise instead of putting the chips on the PCB surface one would mount an 16-gonal arrangement of perpendicular daughterboards, each containing 2-16 GDDR chips where there would be normally one, with external liquid cooling, power delivery and PCIe control connection.

Then each of the daughterboards would feature a multiplexer with a dual-ported SRAM containing a table where for each memory page it would store the chip number to map it to and it would use it to route requests from the GPU, using the second port to change the mapping from the extra PCIe interface.

API-wise, for each resource you would have N overlays and would have a new operation allowing to switch the resource overlay (which would require a custom driver that properly invalidates caches).

This would depend on the GPU supporting the much higher latency of this setup and providing good enough support for cache flushing and invalidation, as well as deterministic mapping from physical addresses to chip addresses, and the ability to manufacture all this in a reasonably affordable fashion.

comment 1y ago · link · parent

I think Linus should change this though, so that the maintainers that don't want to learn Rust have to step down, and there are no more conflicts.

comment 1y ago · link · parent

Actually, you want to use a DC-to-DC converter that properly delivers the constant desired reduced voltage, rather than making a ridiculous stroboscopic light (aka PWM).

comment 1y ago · link · parent

The article's conclusion is completely wrong because it misses two crucial points:

1. On multicore machines you want to process timers in parallel on multiple cores. With userspace timers you either set the same timeouts on all threads and have unnecessary wakeups or distribute timers to cores ahead of time which leads to increased latency if a thread is stalled for any reason. I think this is unfixable without a dedicated timer API.

2. Good timer APIs let you set a time _interval_ for when the timer expires, which is essential so that the system can group timers and reduce wakeups (i.e. you process all timers where the lower bound has been reached before going to sleep, but don't wake up until the upper bound arrives). Most or all "wait with timeout" APIs only have a single timeout, although this could be fixed.

comment 1y ago · link · parent

Huh? Most Firefox users presumably use it, and anyway it's obviously essential and extremely useful functionality.

And the really important languages for EU/US audiences are, in order, English, Chinese, Spanish, Japanese, Portuguese, German, Italian, which is, guess what, 7 languages...

comment 1y ago · link · parent

It's probably not done due to political reasons.

Most of the complication is probably accidental, due to history or human traditions.

From first principles, the problem is obviously straightforward to formulate (assign nonoverlapping regions of spacetime to aircraft containing their position and destination, that they can maneuver in and such that the travel time is approximately optimal).

Applying simplifying constraints to the form of the regions (e.g. a discrete set of departure slots and fixed takeoff/landing envelopes, a route that follows the optimal trajectory in latitude/longitude plus a discrete lateral offset, discrete set of altitudes that change only at route crossings), it should be possible to reduce to a discrete optimization problem solvable in linear time.

comment 1y ago · link · parent

Seems like it can be at least mostly automated.

comment 1y ago · link · parent

That depends on how whether the demand increase multiplier due to the lower cost per result is lower or higher that the efficiency increase multiplier. It can be either in general.

comment 1y ago · link · parent

It's feasible to write complex correct programs with optimal performance in Rust, unlike any other programming language (complex+correct is not feasible in C/C++/assembly/Zig/etc., optimal performance not possible in any other language).

comment 1y ago · link · parent

I think the optimal approach for development would be to not produce a traditional linked executable at all, but instead just place the object files in memory, and then produce a loader executable that hooks page faults in those memory areas and on-demand mmaps the relevant object elsewhere, applies relocations to it, and then moves it in place with mremap.

Symbols would be resolved based on an index where only updated object files are reindexed. It could also eagerly relocate in the background, in order depending on previous usage data.

This would basically make a copyless lazy incremental linker.

comment 1y ago · link · parent

Well then the model weights would be a compilation of copies of the original works, which has the same effect as it being a derivative work unless the copyright holder chose to allow copies but not derivative works.

comment 1y ago · link · parent

Model weights, if they can reproduce something like the original, are just a form of lossy compression (or even lossless for text), where the LLM answering the prompt is a more powerful version of asking software to retrieve a specific file from a Zip archive (or a webserver answering an HTTP query) of such lossy compressed data.

So if model weights don't infringe, that would also imply that saving an image as a JPG or a video using AV-1 doesn't infringe, which would obviously effectively implies that copyright doesn't apply to images or videos on the web, which is not current law/policy, so I think that reasoning cannot possibly work.

comment 1y ago · link · parent

Aren't lawsuits the proper way to address this?

Seems like there's an argument that model weights are a derivative work of the training data, at least if the model is capable of producing output that would be ruled to be such a derivative work given minimal prompting.

Although it may not work with photography since the model might just almost exclusively learn how the object of the photo looks in general and how photos work in general, rather than memorizing anything about specific photos.

comment 1y ago · link · parent

"Handling texts that are larger than available memory. Ropey is an in-memory data structure."

That seems to make it of dubious use, not really suitable for a well-engineered text editor.

The fact that it's UTF-8 only is also a serious problem since files can contain arbitrary byte sequences.

comment 1y ago · link · parent

That's only the case if you interpret them as HH:MM:00. The issue is fixed if you interpret them as HH:MM:30 instead.

comment 1y ago · link · parent

That makes no sense, since DOSEMU is based on virtual 8086 mode, which requires a 80386, while ELKS is for 8086-286 CPUs.

You can just run MS-DOS or FreeDOS directly on those machines, that's what the machines were made for.

comment 1y ago · link · parent

50g of carbs per "meal" are only enough if you eat 10-15 meals per day.

comment 1y ago · link · parent

Linux supports vgafb/vesafb so this is possible if the distribution is configured appropriately.

I think some/most distributions might not enable it out of the box because it would generally result in a low performance/quality experience and the user not realizing what the problem is, and nowadays almost all GPUs are supported natively, so nobody has invested in writing code to show a "Using unaccelerated VGA/VESA, you may want to fix this" popup.

comment 1y ago · link · parent

The major issue seems to be that Musk somehow wants people to pay him to drive it, as opposed to him paying people to drive it.

comment 1y ago · link · parent

The amateurs usually run benchmarks (because they can't reason about it as they lack the relevant knowledge) and believe they got a useful result on some aspect when in the fact the benchmark usually depends on other arbitrary random factors (e.g. maybe they think they are measuring FMA throughput, but are in fact measuring whether the compiler autovectorizes or whether it fuses multiply and adds automatically).

A pro would generally only run benchmarks if it's the only way to find out (or if it's easy), but isn't going to trust it unless there's a good explanation for the effects, or unless they actually just want to compare two very specific configurations rather than coming up with a general finding.

comment 1y ago · link · parent

DDOS is different from crashing.

And I doubt Facebook implemented something that actually saturates the network, usually a scraper implements a limit on concurrent connections and often also a delay between connections (e.g. max 10 concurrent, 100ms delay).

Chances are the website operator implemented a webserver with terrible RAM efficiency that runs out of RAM and crashes after 10 concurrent requests, or that saturates the CPU from simple requests, or something like that.

comment 1y ago · link · parent

Isn't the tanker much more expensive than repairing the cable damage? (and Russia has much lower GDP than the EU)

Seems like they can't play this game for long.

comment 1y ago · link · parent

Probably just burned out from chess, especially training the whole day for competitions.

We are animals and eventually the brain will rebel against extreme repetitive mental effort that is perceived to be at least partially useless (and given he's already been the world champion, it's easy for part of him to think there's no point in training).

12345
51