We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e95a234 + 2462d73 commit e1e8a6bCopy full SHA for e1e8a6b
pkgs/development/python-modules/mmengine/default.nix
@@ -2,6 +2,7 @@
2
lib,
3
buildPythonPackage,
4
fetchFromGitHub,
5
+ fetchpatch,
6
7
# build-system
8
setuptools,
@@ -41,6 +42,16 @@ buildPythonPackage rec {
41
42
hash = "sha256-hQnwenuxHQwl+DwQXbIfsKlJkmcRvcHV1roK7q2X1KA=";
43
};
44
45
+ patches = [
46
+ # Explicitly disable weights_only in torch.load calls
47
+ # https://github.com/open-mmlab/mmengine/pull/1650
48
+ (fetchpatch {
49
+ name = "torch-2.6.0-compat.patch";
50
+ url = "https://github.com/open-mmlab/mmengine/pull/1650/commits/c21b8431b2c625560a3866c65328cff0380ba1f8.patch";
51
+ hash = "sha256-SLr030IdYD9wM/jPJuZd+Dr1jjFx/5/YkJj/IwhnNQg=";
52
+ })
53
+ ];
54
+
55
build-system = [ setuptools ];
56
57
dependencies = [
0 commit comments