<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]
<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]