companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
xd1le has quit [Quit: xd1le]
Soni has quit [Ping timeout: 240 seconds]
chrisz has quit [Ping timeout: 246 seconds]
chrisz has joined #ocaml
xx_lalo_xx[m] has quit [Server closed connection]
xx_lalo_xx[m] has joined #ocaml
Soni has joined #ocaml
Soni has quit [Ping timeout: 245 seconds]
Soni has joined #ocaml
bartholin has joined #ocaml
bartholin has quit [Quit: Leaving]
bgs has joined #ocaml
Serpent7776 has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
<discocaml> <bluddy5> if you're serious about ML, you have to use pytorch or tensorflow
<discocaml> <bluddy5> seems decent but it's not compatible with pytorch 2.0 (not a huge deal).
<discocaml> <bluddy5> binding to python is definitely the easiest way to go.
<discocaml> <bluddy5> other solutions unfortunately aren't really relevant to state-of-the-art ML but may work for simple networks.
<discocaml> <bluddy5> Owl is good for manipulating arrays (which is a prerequisite for ML), but it lacks the ease of use and features of numpy, let alone pytorch's improved array-manipulation interface
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
gareppa has joined #ocaml
gareppa has quit [Quit: Leaving]
kakadu has quit [Quit: Konversation terminated!]
gareppa has joined #ocaml
wingsorc has quit [Quit: Leaving]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
gareppa has quit [Quit: WeeChat 3.8]
gareppa has joined #ocaml
spip has quit [Quit: Konversation terminated!]
jyc has quit [Server closed connection]
jyc has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0_ has joined #ocaml
infinity0 has quit [Killed (zirconium.libera.chat (Nickname regained by services))]
infinity0_ is now known as infinity0
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
mro has joined #ocaml
hrberg has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hrberg has joined #ocaml
waleee has joined #ocaml
mro has quit [Quit: Leaving]
TrillionEuroNote has quit [Ping timeout: 246 seconds]
TrillionEuroNote has joined #ocaml
Tuplanolla has joined #ocaml
waleee has quit [Ping timeout: 245 seconds]
azimut has joined #ocaml
spip has joined #ocaml
<remexre> is there a hashtable with untyped keys and physical equality for keys?
<discocaml> <Kali> what would this be used for?
bartholin has joined #ocaml
<remexre> I've got a bunch of nodes in a syntax tree that declare names, I'd be associating them with e.g. what scope they're in
<remexre> I suppose I could use Obj.t as the key, and equal = (==) with Hashtbl.Make?
Serpent7776 has quit [Ping timeout: 240 seconds]
<discocaml> <_korven_> I found this
<discocaml> <_korven_> In the README, it says you should continue using this for PyTorch 2.0.0
<discocaml> <_korven_> I found this
<discocaml> <_korven_> In the README, it says you should continue using this for PyTorch 2.0.0 support
<discocaml> <_korven_> whatchu say about this
<discocaml> <bluddy5> oh weird.
<discocaml> <bluddy5> yeah that looks fine then
<discocaml> <deepspacejohn> @remexre you could use a GADT to hide the type, like this: https://ocaml.org/play#code=bW9kdWxlIEtleSA9IHN0cnVjdAogIHR5cGUgdCA9IEtleTogJ2EgLT4gdAogIGxldCBoYXNoID0gSGFzaHRibC5oYXNoCiAgbGV0IGVxdWFsID0gKD09KQogIGxldCBtYWtlIHggPSBLZXkgeAplbmQKCm1vZHVsZSBVbnR5cGVkSGFzaHRibCA9IEhhc2h0YmwuTWFrZSAoS2V5KQoKbGV0IGtleV9pbnQgPSBLZXkubWFrZSAxCmxldCBrZXlfc3RyID0gS2V5Lm1ha2UgImEiCmxldCBoID0gVW50eXBlZEhhc2h0YmwuY3JlYXRlIDE2CmxldCAoKSA9CiAgVW50eXBlZEhhc2
<discocaml> <deepspacejohn> Since you use physical equality then you need to be careful about not creating a key more than once, since they would have to be boxed.
<discocaml> <bluddy5> I looked over the ocaml interface, and it seems pretty nice. the nice thing about Pytorch is that they reimplemented numpy, so you get that for free when you have bindings to it.
<discocaml> <bluddy5> The problem is that OCaml is missing things that exist in the python universe that make ML easier. You need easy graphing utilities, easy image display/print utilities. You *need* to be able to step through code in a debugger and examine variables.
<discocaml> <bluddy5> Libraries that do image augmentation. etc.
<discocaml> <bluddy5> Easier to bind to python.
waleee has joined #ocaml
John_Ivan has quit [Read error: Connection reset by peer]
John_Ivan has joined #ocaml
reynir has quit [Ping timeout: 240 seconds]
reynir has joined #ocaml
Techcable has joined #ocaml
Techcable has quit [Remote host closed the connection]
Techcable has joined #ocaml
gareppa has quit [Quit: WeeChat 3.8]
bgs has quit [Remote host closed the connection]
<discocaml> <leonidr> 👋 Hello. Long term OCaml user getting a bit back into it. What's the state of the OCaml community these days? Where should one post stuff about confusing build errors in dune?
<discocaml> <._null._> Doing good ? You can put it in #beginners, #advanced-help or #dune depending on how advanced and specific it is
<Fardale> Or the forum at discuss.ocaml.org
bartholin has quit [Quit: Leaving]
hsw_ has joined #ocaml
JSharp has quit [Ping timeout: 255 seconds]
JSharp has joined #ocaml
hsw has quit [Read error: Connection reset by peer]
end^ has quit [Ping timeout: 255 seconds]
lobo[m] has quit [Ping timeout: 255 seconds]
m5zs7k_ has joined #ocaml
m5zs7k has quit [Quit: m5zs7k]
m5zs7k_ is now known as m5zs7k
end^ has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]