<< 03-11-2026 >>

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:27FromDiscord<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:32FromDiscord<mratsim> Nim -> Nim compiler: https://github.com/mratsim/tattletale/pull/173↵↵(well Nim GPU -> Nim CPU)
06:54:00FromDiscord<zkopt_> sent a long message, see https://discordapp.com/channels/371759389889003530/371759389889003532/1567069300471234653
06:54:41FromDiscord<zkopt_> and↵↵6. what means NIm GPU -> Nim CPU : does that means CPU-run fallback code?
07:27:18FromDiscord<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:50FromDiscord<enthus1ast.> (edit) "haven" => "have"
07:32:17FromDiscord<enthus1ast.> Just curious is tattletale ready for a try? (I still have pascal architecture nvidia1080)
07:32:34FromDiscord<enthus1ast.> (edit)
07:43:03FromDiscord<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:39FromDiscord<enthus1ast.> So, can I load a model and ask it stuff?
07:48:15FromDiscord<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:07FromDiscord<mratsim> There are like 8 models family supported, Qwen3, Qwen3.x, Gemma3, Gemma4, Ling-3.0, Laguna are the most recent
07:52:07FromDiscord<mratsim> sent a long message, see https://discordapp.com/channels/371759389889003530/371759389889003532/1567083925849907321
07:53:47FromDiscord<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:04FromDiscord<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:58FromDiscord<zkopt_> In reply to @mratsim "There is no vectorization": could you more talk about CPU vectorisation with SIMD codegen?
09:24:29FromDiscord<zkopt_> um... I have same issue with my language too
09:48:14FromDiscord<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:22Amun-Ravery stable
10:27:13FromDiscord<TӨMΛ ☠> Is there Nim equivalent of JavaScript's `charCodeAt()`?
10:28:42FromDiscord<blackmius> In reply to @toma400 "Is there Nim equivalent": utf-8?
10:29:02FromDiscord<blackmius> https://nim-lang.org/docs/unicode.html#runeAt%2CopenArray%5Bchar%5D%2CNatural
10:29:24FromDiscord<TӨMΛ ☠> Yup, utf-8 is enough 🙂‍↕️
10:29:26FromDiscord<TӨMΛ ☠> Thank you!
11:07:18FromDiscord<xierongchuan> In reply to @bung8954 "have u tried switch": I will try, thanks
11:31:56FromDiscord<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:53FromDiscord<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:19FromDiscord<b0rsuk> What's the opposite of implementing something? 🤔
11:35:35FromDiscord<mratsim> In reply to @b0rsuk "What's the opposite of": having ideas
11:36:55FromDiscord<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:41FromDiscord<willowispll> In reply to @mratsim "politics? It's a tool.": no, not at all
11:40:15FromDiscord<willowispll> I'm just curious
11:55:21*beholders_eye joined #nim
12:25:07*arcathrax joined #nim
12:30:38arcathraxhi, nim's tools fail to build on NetBSD when using 2.4.0
12:32:49arcathraxon both arm64 and amd64
12:36:59arcathraxBoth with the same error message:https://paste.sr.ht/~arcathrax/552e61ee58d98987d62d1a9c45ed9ba35876b0d5
12:37:47arcathraxon macOS and Alpine Linux the package builds just fine so probably a NetBSD only issue.
12:57:26arcathraxyep, also builds on debian arm64
13:19:04Amun-Rait's a known feature
13:19:06Amun-Ra"
13:19:08Amun-Ra"feature"
13:19:54Amun-RaNim 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:55Amun-Rathis is the culprit: https://dpaste.com/9BB26WECX
13:27:40Amun-Rajust add else branch with anything you like, you don't need nightlies in order to use nimble…
13:28:31Amun-Rait'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:43FromDiscord<b0rsuk> `"having an idea"..implementation`
13:30:10FromDiscord<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:54arcathraxb0rsuk: I don't have discord so i cannot see the code paste
16:17:09arcathraxAmun-Ra: Thanks! I'll look into it!
16:18:17FromDiscord<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:22Amun-Raarcathrax: I've built nim + nimble on netbsd before - that's why I knew what was the cause
16:18:49FromDiscord<b0rsuk> Like "a".."z"
16:21:20Amun-Rayou don't have to have a discord account, just copy the url - it'll be invalid after a few days
16:27:21arcathraxAmun-Ra: Did you also fail on building the tools? nim and koch built just fine, only the last bit failed.
16:30:15Amun-Raarcathrax: that I don't remember, can you paste the error log somewhere online?
16:31:50arcathraxAmun-Ra: the paste won't get deleted if you mean that
16:33:47Amun-Raarcathrax: oh, I meant image urls
16:35:28arcathraxAmun-Ra: not sure what you mean with image urls
16:38:07Amun-Raarcathrax: if someone pastes an image onto discord channel on the irc side we see discord image urls
16:38:11Amun-Raand they do expire
16:41:16arcathraxahh okay
16:48:57Amun-Ras/if/when/
17:15:44*SchweinDeBurg quit (Remote host closed the connection)
17:18:00*SchweinDeBurg joined #nim
17:24:19*SchweinD1 joined #nim
17:24:45*SchweinDeBurg quit (Read error: Connection reset by peer)
17:25:43*insanescholar joined #nim
17:49:19*beholders_eye quit (Ping timeout: 262 seconds)
18:31:29*beholders_eye joined #nim
18:53:52*beholders_eye quit (Ping timeout: 246 seconds)
19:04:49*iwuvmika quit (Ping timeout: 243 seconds)
19:38:36*nisstyre joined #nim
19:41:37*insanescholar quit (Ping timeout: 262 seconds)
19:42:18*insanescholar joined #nim
20:56:52*cornfeedhobo quit (Quit: Goodbye)
21:06:04*xutaxkamay_ joined #nim
21:06:54*xutaxkamay quit (Read error: Connection reset by peer)
21:07:03*xutaxkamay_ is now known as xutaxkamay
21:17:28*iwuvmika joined #nim
21:29:20*cornfeedhobo joined #nim
22:23:08*om3ga quit (Ping timeout: 254 seconds)
22:35:00*om3ga joined #nim
23:05:39*xtr00 quit (Ping timeout: 241 seconds)