Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 63 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, stdenv, buildPythonPackage, fetchFromGitHub,
# build-system setuptools, setuptools-scm,
# dependencies scipy, torch,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "linear-operator"; version = "0.6.1"; pyproject = true;
src = fetchFromGitHub { owner = "cornellius-gp"; repo = "linear_operator"; tag = "v${finalAttrs.version}"; hash = "sha256-Ghe4a3zMSvTv3J6ROd1RLELK+k24/rO8p+XUPVsl090="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ scipy torch ];
pythonImportsCheck = [ "linear_operator" ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # flaky numerical tests "test_matmul_matrix_broadcast" "test_solve_matrix_broadcast" "test_svd" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # RuntimeError: Failed to initialize cpuinfo! "test_half" ];
meta = { description = "LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch"; homepage = "https://github.com/cornellius-gp/linear_operator"; changelog = "https://github.com/cornellius-gp/linear_operator/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; };})