| 00:57:46 | * | pmp-p quit (Ping timeout: 262 seconds) |
| 01:09:34 | * | pmp-p joined #nim |
| 01:11:18 | * | Mister_Magister quit (Quit: bye) |
| 01:13:23 | * | Mister_Magister joined #nim |
| 02:10:27 | FromDiscord | <im_rob> sent a long message, see https://discordapp.com/channels/371759389889003530/371759389889003532/1566997952096903219 |
| 02:28:53 | * | acidsys quit (Ping timeout: 264 seconds) |
| 02:50:04 | * | acidsys joined #nim |
| 03:06:09 | * | th3r00t joined #nim |
| 04:17:38 | * | th3r00t is now known as hermescontrol |
| 04:37:21 | * | hermescontrol is now known as th3r00t |
| 05:31:32 | FromDiscord | <mratsim> Nim -> Nim compiler: https://github.com/mratsim/tattletale/pull/173↵↵(well Nim GPU -> Nim CPU) |
| 06:54:00 | FromDiscord | <zkopt_> sent a long message, see https://discordapp.com/channels/371759389889003530/371759389889003532/1567069300471234653 |
| 06:54:41 | FromDiscord | <zkopt_> and↵↵6. what means NIm GPU -> Nim CPU : does that means CPU-run fallback code? |
| 07:27:18 | FromDiscord | <enthus1ast.> In reply to @Amun-Ra "probably the first one": I haven used this maybe once or twice in about 10years of writing nim |
| 07:28:50 | FromDiscord | <enthus1ast.> (edit) "haven" => "have" |
| 07:32:17 | FromDiscord | <enthus1ast.> Just curious is tattletale ready for a try? (I still have pascal architecture nvidia1080) |
| 07:32:34 | FromDiscord | <enthus1ast.> (edit) |
| 07:43:03 | FromDiscord | <mratsim> In reply to @enthus1ast. "<@570268431522201601> Just curious is": The GPU compiler works. The layers above still needs a Tensor library.↵↵Alternatively the pytorch/libtorch works |
| 07:46:39 | FromDiscord | <enthus1ast.> So, can I load a model and ask it stuff? |
| 07:48:15 | FromDiscord | <mratsim> In reply to @enthus1ast. "So, can I load": it will be slow, it's really just a POC but you can hunt for "generate" in transformers, still using libtorch C++ as a backend there not pure Nim. |
| 07:49:07 | FromDiscord | <mratsim> There are like 8 models family supported, Qwen3, Qwen3.x, Gemma3, Gemma4, Ling-3.0, Laguna are the most recent |
| 07:52:07 | FromDiscord | <mratsim> sent a long message, see https://discordapp.com/channels/371759389889003530/371759389889003532/1567083925849907321 |
| 07:53:47 | FromDiscord | <mratsim> In reply to @zkopt_ "I have some question": The GPU compiler is general purpose and has no specific handling of tensors or cryptography or anything, it translates any Nim code. Tensors or cryptography abstraction have to be built on top. But it's regular Nim code except if you need GPU builtins like threadIdx. |
| 07:56:04 | FromDiscord | <mratsim> In reply to @zkopt_ "I have some question": There is no vectorization at the moment but this is like a 100~200 LOC compiler pass at most on GPUs. And GPU compiler all autovectorize already AFAIK.↵↵The tricky part is CPU vectorization with SIMD specific codegen. But that mostly matters for specific algo like matmul and I have a plan for that |
| 08:07:49 | * | xtr00 joined #nim |
| 08:40:02 | * | sdothum quit (Remote host closed the connection) |
| 08:45:36 | * | sdothum joined #nim |
| 09:23:58 | FromDiscord | <zkopt_> In reply to @mratsim "There is no vectorization": could you more talk about CPU vectorisation with SIMD codegen? |
| 09:24:29 | FromDiscord | <zkopt_> um... I have same issue with my language too |
| 09:48:14 | FromDiscord | <willowispll> greetings! how stable is nim? and what is the AI politics? |
| 09:57:45 | * | xtr00 quit (Read error: Connection reset by peer) |
| 09:58:57 | * | xtr00 joined #nim |
| 10:03:19 | * | hygo joined #nim |
| 10:16:22 | Amun-Ra | very stable |
| 10:27:13 | FromDiscord | <TӨMΛ ☠> Is there Nim equivalent of JavaScript's `charCodeAt()`? |
| 10:28:42 | FromDiscord | <blackmius> In reply to @toma400 "Is there Nim equivalent": utf-8? |
| 10:29:02 | FromDiscord | <blackmius> https://nim-lang.org/docs/unicode.html#runeAt%2CopenArray%5Bchar%5D%2CNatural |
| 10:29:24 | FromDiscord | <TӨMΛ ☠> Yup, utf-8 is enough 🙂↕️ |
| 10:29:26 | FromDiscord | <TӨMΛ ☠> Thank you! |
| 11:07:18 | FromDiscord | <xierongchuan> In reply to @bung8954 "have u tried switch": I will try, thanks |
| 11:31:56 | FromDiscord | <mratsim> In reply to @willowispll "greetings! how stable is": politics? It's a tool. You're responsible for its output that's all |
| 11:34:53 | FromDiscord | <mratsim> In reply to @zkopt_ "could you more talk": I haven't implemented it but basically it would be a pass to recognize non-strided accesses and map them to SIMD.↵↵Just look for loop peeling to handle tail↵ https://github.com/mratsim/laser/blob/master/laser/primitives/reductions.nim |
| 11:35:19 | FromDiscord | <b0rsuk> What's the opposite of implementing something? 🤔 |
| 11:35:35 | FromDiscord | <mratsim> In reply to @b0rsuk "What's the opposite of": having ideas |
| 11:36:55 | FromDiscord | <mratsim> In reply to @willowispll "greetings! how stable is": On stability I have code that was developed for Nim 1.2 or even 1.0 that still compiles today. That was 10 years ago |
| 11:38:41 | FromDiscord | <willowispll> In reply to @mratsim "politics? It's a tool.": no, not at all |
| 11:40:15 | FromDiscord | <willowispll> I'm just curious |
| 11:55:21 | * | beholders_eye joined #nim |
| 12:25:07 | * | arcathrax joined #nim |
| 12:30:38 | arcathrax | hi, nim's tools fail to build on NetBSD when using 2.4.0 |
| 12:32:49 | arcathrax | on both arm64 and amd64 |
| 12:36:59 | arcathrax | Both with the same error message:https://paste.sr.ht/~arcathrax/552e61ee58d98987d62d1a9c45ed9ba35876b0d5 |
| 12:37:47 | arcathrax | on macOS and Alpine Linux the package builds just fine so probably a NetBSD only issue. |
| 12:57:26 | arcathrax | yep, also builds on debian arm64 |
| 13:19:04 | Amun-Ra | it's a known feature |
| 13:19:06 | Amun-Ra | " |
| 13:19:08 | Amun-Ra | "feature" |
| 13:19:54 | Amun-Ra | Nim authors assumed you don't need nimble executable if there's no precompiled nim available to download for the system |
| 13:24:52 | * | beholders_eye quit (Ping timeout: 244 seconds) |
| 13:24:55 | Amun-Ra | this is the culprit: https://dpaste.com/9BB26WECX |
| 13:27:40 | Amun-Ra | just add else branch with anything you like, you don't need nightlies in order to use nimble… |
| 13:28:31 | Amun-Ra | it's a stupid assumption but what can you do… except filing a bug or PR ;) |
| 13:28:50 | * | xtr00 quit (Read error: Connection reset by peer) |
| 13:29:43 | FromDiscord | <b0rsuk> `"having an idea"..implementation` |
| 13:30:10 | FromDiscord | <b0rsuk> (edit) "`"having an idea"..implementation`" => "sent a code paste, see https://discordapp.com/channels/371759389889003530/371759389889003532/1567168901534449785" |
| 13:35:52 | * | xtr00 joined #nim |
| 14:14:05 | * | beholders_eye joined #nim |
| 15:39:46 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 15:40:03 | * | KawaiiSelbst joined #nim |
| 15:46:59 | * | KawaiiSelbst quit (Remote host closed the connection) |
| 15:47:59 | * | KawaiiSelbst joined #nim |
| 16:00:45 | * | SchweinDeBurg quit (Remote host closed the connection) |
| 16:06:10 | * | SchweinDeBurg joined #nim |
| 16:16:54 | arcathrax | b0rsuk: I don't have discord so i cannot see the code paste |
| 16:17:09 | arcathrax | Amun-Ra: Thanks! I'll look into it! |
| 16:18:17 | FromDiscord | <b0rsuk> In reply to @arcathrax "<@291622628806885376>: I don't have": I said↵"having an idea"..implementation↵in reference to mratsim's response that the opposite of implementation is having an idea. |
| 16:18:22 | Amun-Ra | arcathrax: I've built nim + nimble on netbsd before - that's why I knew what was the cause |
| 16:18:49 | FromDiscord | <b0rsuk> Like "a".."z" |
| 16:21:20 | Amun-Ra | you don't have to have a discord account, just copy the url - it'll be invalid after a few days |
| 16:27:21 | arcathrax | Amun-Ra: Did you also fail on building the tools? nim and koch built just fine, only the last bit failed. |
| 16:30:15 | Amun-Ra | arcathrax: that I don't remember, can you paste the error log somewhere online? |
| 16:31:50 | arcathrax | Amun-Ra: the paste won't get deleted if you mean that |
| 16:33:47 | Amun-Ra | arcathrax: oh, I meant image urls |
| 16:35:28 | arcathrax | Amun-Ra: not sure what you mean with image urls |
| 16:38:07 | Amun-Ra | arcathrax: if someone pastes an image onto discord channel on the irc side we see discord image urls |
| 16:38:11 | Amun-Ra | and they do expire |
| 16:41:16 | arcathrax | ahh okay |
| 16:48:57 | Amun-Ra | s/if/when/ |