Sender | Message | Time |
---|---|---|
7 Jan 2024 | ||
SomeoneSerge (utc+3) | In reply to @benoitdr:matrix.orgAh, this is because they wrap cmake into the setup.py | 12:58:41 |
SomeoneSerge (utc+3) | Got to pass the cmakeFlags to cmake | 12:59:09 |
SomeoneSerge (utc+3) | In reply to @benoitdr:matrix.orghttps://gist.github.com/SomeoneSerge/3c2fc29c79dfc4803c5cb277688566a7 | 13:10:20 |
8 Jan 2024 | ||
SomeoneSerge (utc+3) changed their display name from SomeoneSerge (UTC+2) to SomeoneSerge (hash-versioned python modules when). | 04:50:11 | |
benoitdr | OK I see, thanks for the explanations and the example | 09:45:12 |
13 Jan 2024 | ||
gambrose joined the room. | 00:41:46 | |
gambrose | Hi all. New here and am looking for some help. I am trying to get a persistent jupyterhub/lab up and running on nixos. I have made progress, but stuck on two items. First, is it possible in the approach I am using to add jupyterlab extensions declaratively? I saw that its possible if I build a shell to use, but I would rather not take that approach. Second, while I got a pything env up and running with some basic data science packages to try out, I can't get an R to work. Console won't connect to the kernel, even after multiple attempts. Pasting my code below, if anyone has pointers who may have tried this. Thanks! | 04:58:28 |
gambrose | { config, lib, pkgs, ... }: { services.jupyterhub = {
}; } | 04:58:33 |
gambrose | * Hi all. New here and am looking for some help. I am trying to get a persistent jupyterhub/lab up and running on nixos. I have made progress, but stuck on two items. First, is it possible in the approach I am using to add jupyterlab extensions declaratively? I saw that its possible if I build a shell to use, but I would rather not take that approach. Second, while I got a python env up and running with some basic data science packages to try out, but I can't get an R to work. Console won't connect to the kernel, even after multiple attempts, including finding and using the full path to the R bin. Pasting my code below, if anyone has pointers who may have tried this. Thanks! | 05:00:17 |
felipeggmarcelino joined the room. | 19:53:14 | |
14 Jan 2024 | ||
benoitdr | In reply to @gambrose:matrix.orgFor the extensions, can't you just add them like other packages ? See jupyterlab-widgets, jupyterlab-git, jupyterlab-lsp, ... | 09:29:23 |
15 Jan 2024 | ||
gambrose | In reply to @benoitdr:matrix.orgYes, that works for some extensions that have official packages (like jupyterlab-lsp), but not all extensions have packages, but I can probably do a derivation to create them from their github repos. But related issue. Jupyterlab-git needs regular git installed, which it obvioulsy is on the base system, but the jupyterhub/lab environment for some reason can't see git. I must need to load it into the hub/lab environment. They are built like this: | 02:49:40 |
gambrose | In reply to @benoitdr:matrix.org* Yes, that works for some extensions that have official packages (like jupyterlab-lsp), but not all extensions have packages, but I can probably do a derivation to create them from their github repos. But related issue. Jupyterlab-git needs regular git installed, which it obvioulsy is on the base system, but the jupyterhub/lab environment for some reason can't see git. I must need to load it into the hub/lab environment. They are built with this:
| 02:50:18 |
gambrose | * Yes, that works for some extensions that have official packages (like jupyterlab-lsp), but not all extensions have packages, but I can probably do a derivation to create them from their github repos. But related issue. Jupyterlab-git needs regular git installed, which it obvioulsy is on the base system, but the jupyterhub/lab environment for some reason can't see git. I must need to load it into the hub/lab environment. They are built with this:
Is it possible to load non python311pacakges into this enviornment. I tried a few different ways, but couldn't get it to work. Trying to load the regular git nixos package. | 02:52:00 |
gambrose | * Yes, that works for some extensions that have official packages (like jupyterlab-lsp), but not all extensions have packages, but I can probably do a derivation to create them from their github repos. But related issue. Jupyterlab-git needs regular git installed, which it obvioulsy is on the base system, but the jupyterhub/lab environment for some reason can't see git. I must need to load it into the hub/lab environment. They are built like this: | 03:26:01 |
gambrose | * Yes, that works for some extensions that have official packages (like jupyterlab-lsp), but not all extensions have packages, but I can probably do a derivation to create them from their github repos. But related issue. Jupyterlab-git needs regular git installed, which it obvioulsy is on the base system, but the jupyterhub/lab environment for some reason can't see git. I must need to load it into the hub/lab environment. They are built like this:
It appears you can only load python packages into the underlying environment. Is there a way to load non python packages, such as git? | 03:28:00 |
gambrose | * Yes, that works for some extensions that have official packages (like jupyterlab-lsp), but not all extensions have packages, but I can probably do a derivation to create them from their github repos. But related issue. Jupyterlab-git needs regular git installed, which it obviously is on the base system, but the jupyterhub/lab environment for some reason can't see git. I must need to load it into the hub/lab environment. They are built like this:
It appears you can only load python packages into the underlying environment. Is there a way to load non python packages, such as git? | 06:03:30 |
data_thrall joined the room. | 07:12:52 | |
16 Jan 2024 | ||
benoitdr | I'm not sure how you are working. Personally, I use nix-shell to package all the development environment (including python modules and non-python packages). Here is an example for jupyter lab :
Note that unless you use nix-shell --pure, you don't need to add git if it is alrready present at OS level, although it's probability better to add it anyway for portability | 12:34:26 |
17 Jan 2024 | ||
andredornas joined the room. | 13:51:45 | |
18 Jan 2024 | ||
fizihcyst | Hi, is anyone here using julia? I see that recently a pr was merged to nixpkgs to build julia.withPackages similar to python. This is fine for simple scripts, but does anyone have recommendations for using nix with a julia Project.toml/Manifest.toml? Maybe something similar to poetry2nix? I see two julia2nix repos, but had trouble getting them to work. A working example julia project+flake would be helpful. | 17:08:43 |
22 Jan 2024 | ||
Gregory M. Kapfhammer joined the room. | 16:59:42 | |
Gregory M. Kapfhammer | Hello, does anyone have a good example of how to get Quarto to work on NixOS? I created this site using Quarto on Arch Linux: https://github.com/gkapfham/www.gregorykapfhammer.com This configuration allows me to use Poetry to manage the project's dependencies. When I am in the poetry shell I can use quarto and it finds all of the project's dependencies in the virtualenv when I run it on Arch Linux. However, when I use NixOS the quarto program installed through nix packages does not seem to pass along the dependencies in the virtual environment. I am glad to share more details. With that said, does anyone have a quick idea as to what I should try next? Thanks! | 18:27:19 |
phiadaarr joined the room. | 21:19:10 | |
23 Jan 2024 | ||
bcdarwin joined the room. | 22:54:56 | |
25 Jan 2024 | ||
@trexd:matrix.org | What are people's thoughts around putting data in the nix store? Only small stuff? Large datasets too? Only in specific situations? | 16:25:09 |
CRTified | Generally a nice thing, although painful for larger files. Not directly related to data science, but it was a pain to get vivado (fpga IDE/tool chain) into the store, and that's only like 25GiB worth of data | 16:34:48 |
@trexd:matrix.org | Ok thats around the dataset size that I'm dealing with but I can decrompress it before training so fitting it in the store compressed should make things easier. | 16:44:30 |
26 Jan 2024 | ||
benoitdr | Is everyone OK with that ? I guess uploading large datasets to the nix store will increase the nix store hosting costs (on S3 ?). Another option could be to store the datasets in dedicated platforms (HugggingFace, Kaggle, ....) and store pointers in the nix store. | 09:03:33 |
CRTified | In reply to @benoitdr:matrix.orgDepending on how you point to the dataset, it will end up in the nix store after pulling | 11:15:51 |