data-science

Data science, data analysis, and machine learning in Clojure https://scicloj.github.io/pages/chat_streams/ for additional discussions
Kamuela 2020-01-10T00:44:52.044700Z

Tutorials inbound? ๐Ÿ˜Š

2020-01-10T02:02:22.045Z

soonish

2020-01-10T13:32:00.049700Z

@mkvlr I've just checked and GPU is not advertised as being included in the free plan. Is it just available on a case-by-case basis until it becomes too popular to be unviable, or you plan to offer it publicly? In any case, it is an awesome feature, especially for testing and demonstrations. I would be interested in porting a few tutorials that demonstrate how to do the GPU stuff in Clojure (not immediately due to work overload, but in a month or two). Would it be viable, since it only makes sense if a large(ish) number of people are able to try it, but I'm afraid that it would be a drag for your resources?

fabrao 2020-01-10T16:15:18.051100Z

Do you think libpython-clj is production ready?

2020-01-10T16:20:39.052Z

I don't see why not - the link above from the facial rec shows you how to put it together with a conda/docker container

2020-01-10T16:21:07.052600Z

The surface area of the interop library itself is pretty small

2020-01-10T16:21:31.053300Z

after that - it's a matter of do you think python libs are prod ready ๐Ÿ™‚

โ˜๏ธ 1
2
2020-01-10T16:22:48.054400Z

But - you would be on the bleeding edge - which implies the chance of blood

2020-01-10T16:23:02.054900Z

Depends on your risk tolerance

fabrao 2020-01-10T16:23:31.055300Z

I understand, I think python envs is a realy mess comparing with clojure

fabrao 2020-01-10T16:23:56.055600Z

mainly about dependencies

2020-01-10T16:24:11.056100Z

Yes but it is a well known mess

fabrao 2020-01-10T16:25:13.056900Z

I couldnยดt use CUDA libs with python yet because conda/python3.6/python3.7 ... make me very confuse

fabrao 2020-01-10T16:25:47.057300Z

beside using it in Windows SO

2020-01-10T16:26:34.058Z

I'm not arguing with you ๐Ÿ™‚ - It's another option in the tradeoff matrix that you have to make on when deciding how to build things

chrisn 2020-01-10T20:06:16.065300Z

@fabrao - I think using GPU from windows is adding another major layer of complexity. The pathway through GPU docker with ubuntu is at least well known and tested. Then when you deploy things you are at least not changing operating systems. In my opinion, the major simplification to all of this is docker. Without that you are really fighting a lot of environment issues from cuda driver versions to python versions to a lot of other things and these things will make it really hard to move forward. So docker is your friend here but GPU docker and windows...not a good mix from my experience. GPU docker and Linux - doable but also has some caveats. Once that is working then layering gpu-enabled conda, mxnet, jvm, potentially neanderthal and clojure should also be within reach. Hmmm. Maybe that should be a github project right there. So - if you want GPU then you are going to have environment battles whether you use python or clojure. Windows makes these things much harder. Docker is designed specifically to solve the environment problem. Docker with GPU is a bit more involved that docker without GPU but it does work fine. Do you intend to test/deploy on Azure?

fabrao 2020-01-10T20:09:47.066900Z

I will intend to deploy to desktop based running.

fabrao 2020-01-10T20:11:31.068900Z

How do you work with CV with Cuda for local processing?

fabrao 2020-01-10T20:14:31.070600Z

Will docker see gpu in this enviroment?

2020-01-10T20:38:47.073Z

Is there any docs on how to use GPU docker containers with Clojure/lib-python-clj or Nehandertal? I always get into trouble just to install CUDA DevKit on Ubuntu.

2020-01-10T21:49:29.074100Z

I just got the Huggingface GPT2 text generation working ๐ŸŽ‰ https://gist.github.com/gigasquid/f276693bf3519a98afd4ed722edf55ec

๐Ÿ˜ฎ 1
1
2020-01-10T21:50:02.074700Z

Just putting it out here for now - will put together a blog post to go over it more in detail

2020-01-10T21:50:11.074900Z

@chris441 ^

2020-01-10T21:59:22.075300Z

(generate-text "Clojure is a dynamic, general purpose programming language, combining the approachability and interactive" 20)
;=> "Clojure is a dynamic, general purpose programming language, combining the approachability and interactive. It is a language that is easy to learn and use, and is easy to use for anyone"