File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed
pkgs/development/python-modules Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 11{
2- stdenv ,
32 lib ,
3+ stdenv ,
44 buildPythonPackage ,
55 fetchFromGitHub ,
6+
7+ # build-system
68 setuptools ,
9+
10+ # dependencies
11+ pytorch-lightning ,
12+ torch ,
13+
14+ # tests
715 pythonOlder ,
16+ pythonAtLeast ,
817 pytestCheckHook ,
9- torch ,
10- pytorch-lightning ,
1118} :
1219
1320buildPythonPackage rec {
@@ -39,13 +46,18 @@ buildPythonPackage rec {
3946 nativeCheckInputs = [ pytestCheckHook ] ;
4047 pytestFlagsArray = [ "tests" ] ;
4148 disabledTests =
42- # torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
43- # LoweringException: ImportError: cannot import name 'triton_key' from 'triton.compiler.compiler'
4449 lib . optionals ( pythonOlder "3.12" ) [
50+ # torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
51+ # LoweringException: ImportError: cannot import name 'triton_key' from 'triton.compiler.compiler'
4552 "test_fts_dynamo_enforce_p0"
4653 "test_fts_dynamo_resume"
4754 "test_fts_dynamo_intrafit"
4855 ]
56+ ++ lib . optionals ( pythonAtLeast "3.13" ) [
57+ # RuntimeError: Dynamo is not supported on Python 3.13+
58+ "test_fts_dynamo_enforce_p0"
59+ "test_fts_dynamo_resume"
60+ ]
4961 ++ lib . optionals ( stdenv . hostPlatform . isAarch64 && stdenv . hostPlatform . isLinux ) [
5062 # slightly exceeds numerical tolerance on aarch64-linux:
5163 "test_fts_frozen_bn_track_running_stats"
Original file line number Diff line number Diff line change 2424
2525buildPythonPackage rec {
2626 pname = "torchmetrics" ;
27- version = "1.6.1 " ;
27+ version = "1.6.2 " ;
2828 pyproject = true ;
2929
3030 src = fetchFromGitHub {
3131 owner = "Lightning-AI" ;
3232 repo = "torchmetrics" ;
3333 tag = "v${ version } " ;
34- hash = "sha256-itLFJB920hQGX2VLOLolHhmXFVHAOkfRRFtUGB9neKM =" ;
34+ hash = "sha256-IPhBgGciB/3IFYVX+miID4oQ+5CpcjvAHiufxKiHzFw =" ;
3535 } ;
3636
3737 dependencies = [
You can’t perform that action at this time.
0 commit comments