File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed
pkgs/development/python-modules/finetuning-scheduler Expand file tree Collapse file tree 1 file changed +17
-5
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"
You can’t perform that action at this time.
0 commit comments