88 karma · joined Mar 14, 2018 (8y ago) · 171 submissions
comment 4mo ago · link · parent
comment 1y ago · link · parent
Making something just CUDA-compatible is non-trivial, and since Nvidia decides its direction and new features then the alternatives would always be lagging behind. Currently there are also major hardware differences between Nvidia and AMD, which may make highly optimized CUDA code inefficient or even buggy.
[1] https://github.com/ROCm/composable_kernel?tab=readme-ov-file#composable-kernel
[2] https://github.com/triton-lang/triton?tab=readme-ov-file#triton
[3] https://github.com/ROCm/HIP?tab=readme-ov-file#what-is-this-repository-forcomment 2y ago · link · parent
> The goal of the Hutter Prize is to encourage research in artificial intelligence (AI). The organizers believe that text compression and AI are equivalent problems.
comment 2y ago · link · parent
Isn't this a standard on REPLs as well? You can select the code you wish to run, and press Ctrl+Enter or what ever. I must admit, I've programmed Python for about 10 years in Spyder and VS Code now, but I haven't used notebooks at any point. Just either ad-hoc scripts or actual source files.
My definition of a "notebook" is an ad-hoc script, split into individual "cells" which are typically run as a whole. On my workflow, I just select the code I wish to run. Sometimes it is one expression, one line, 100 lines or 1000 lines depending what I've changed on the script.
comment 2y ago · link · parent
An other point is that you don't need to write any CUDA code to be able to utilize GPU computing. If you need ML models, you have frameworks like PyTorch and Tensorflow. You just need to express your mathematical problem, and the framework will take care of the rest.
Even if you needed to write custom GPU code, you don't need to do it in C anymore! For example you can JIT Python, using Numba or Triton.
Usually writing custom code is only required when:
- You are doing something novel, like PhD level stuff
- You must optimize the ML project for performance and trough-put at interference time
- You need to brute-force solutions (be it crypto-hashes, passwords, NP-complete problems, ...)
My last point to you is that do you want to learn to use these pre-existing frameworks and libraries, or learn to develop them or maybe even create new ones? What ever your answer is, I'd say that the first option is a great stepping-stone to advance to the second one.
comment 2y ago · link · parent
As an example, do you know how git works?
Edit: Oh an other great example of data structures is torrent files (and magnet links). Hint: https://en.wikipedia.org/wiki/Merkle_tree
comment 2y ago · link · parent
comment 2y ago · link · parent
- Office Space, 1999 (especially for people who work at offices) - The Matrix, 1999 - Fight Club, 1999 :)
Umm, what else? - Spirited Away, 2001 (and many others from Miyazaki) - Requiem for a Dream, 2000 (Very Heavy addiction-related film! I actually got watery eyes just by typing this, I've seen it too many times.) - Joker, 2019 - Full Metal Jacket, 1987 (and many others from Kubrick, such as Dr. Strangelove and The Shining) - Django Unchained, 2012 (and many others from Tarantino, at least Pulp Fiction) - Alien, 1979 - The Silence of the Lambs, 1991 - Saw, 2004
I made a bit longer list, so that I can share the link to my friends.
Actually there are many quirky ones which came to my mind, such as Borat, the South Park movie, Team America, Airplane! (alternatively titled Flying High!), Idiocracy and Hangover, but I wouldn't say these are in the must-see category. Actually I wouldn't even recommend these to most people, if I didn't know what kind of humor they like.
comment 3y ago · link · parent
You'd list the file extensions you want to track? Here is an example for a PHP project:
* !/ !.php !.md !.xml !.gitignore !composer.json
Or Clojure:
* !/ !.clj !*.md target/ !.gitignore
If you have exceptions on these rules, you can always force-add the files or add the extension to .gitignore, to configure it not being ignored.
comment 3y ago · link · parent
Has he tried yelling at the front desk staff yet? I hope you know his name and contacted him afterwards.
> I asked if I should have forced my way back to find an empty bed and just jumped into it.
I assume that would get you arrested, and maybe even dragged to jail. :S