Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135{ lib, stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch,
# build-system setuptools, setuptools-scm,
# dependencies aistore, boto3, einops, fsspec, h5py, huggingface-hub, hydra-core, loguru, numpy, pandas, psutil, pyvista, rtree, submitit, torch, trimesh, typer,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "emmiai-noether"; version = "2026.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "Emmi-AI"; repo = "noether"; tag = "v${finalAttrs.version}"; hash = "sha256-ySQxI0n4mPKio7tlRkRRdSq/ieIigznur2CZhJfbyLs="; };
patches = [ # Use the correct version in pyproject.toml # Can be removed in the next release # See https://github.com/Emmi-AI/noether/pull/205 (fetchpatch { name = "fix-pyproject-version.patch"; url = "https://github.com/Emmi-AI/noether/commit/bb86d54755e01de8131b0742c3ce9d5f417d6b84.patch"; hash = "sha256-M96WQdyEe629IxLHOKVHYiBMFWx1dZ+ZU7w5I8IxAwg="; }) ];
build-system = [ setuptools setuptools-scm ];
pythonRelaxDeps = [ "numpy" "torch" ]; dependencies = [ aistore boto3 einops fsspec h5py huggingface-hub hydra-core loguru numpy pandas psutil pyvista rtree submitit torch trimesh typer ];
pythonImportsCheck = [ "noether" ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # Checks if code.tar.gz exists "test_train_pipeline_copies_code"
# Fails to properly count the number of cores in the sandbox "test_total_cpu_count_fallback" "test_total_cpu_count_linux" "test_total_cpu_count_mac" "test_total_cpu_count_windows"
# Numerical precision assertion errors since torch was updated to 2.12.0 # AssertionError: Output is not as expected "test_ab_upt_determinism_regression_check" "test_double_kwargs" "test_forward_shape" "test_forward_transolver_attention" "test_forward_with_mask" "test_perceiver_attention_forward_shape" "test_perceiver_block_forward" "test_rope_perceiver" "test_rope_transformer" "test_single" "test_transformer_block_forward" "test_transformer_determinism_regression_check" "test_transolver_determinism_regression_check" "test_upt_determinism_regression_check" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # flaky: assert 0.32007395901018754 == 0.3 ± 0.02 "test_real_time_accuracy" ];
__darwinAllowLocalNetworking = true;
meta = { description = "Deep-Learning framework for Engineering AI"; homepage = "https://github.com/Emmi-AI/noether"; changelog = "https://github.com/Emmi-AI/noether/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.enpl; maintainers = with lib.maintainers; [ GaetanLepage ]; };})