danieldk HF Staff commited on
Commit
e67ec70
·
1 Parent(s): 31a8142

Update build and flake

Browse files
Files changed (3) hide show
  1. build.toml +11 -1
  2. flake.lock +31 -82
  3. flake.nix +3 -3
build.toml CHANGED
@@ -1,3 +1,13 @@
1
  [general]
2
  name = "versions"
3
- universal = true
 
 
 
 
 
 
 
 
 
 
 
1
  [general]
2
  name = "versions"
3
+ license = "apache-2.0"
4
+ backends = [
5
+ "cpu",
6
+ "cuda",
7
+ "metal",
8
+ "rocm",
9
+ "xpu",
10
+ ]
11
+
12
+ [general.hub]
13
+ repo-id = "kernels-tests/versions"
flake.lock CHANGED
@@ -2,26 +2,11 @@
2
  "nodes": {
3
  "flake-compat": {
4
  "locked": {
5
- "lastModified": 1747046372,
6
- "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
7
  "owner": "edolstra",
8
  "repo": "flake-compat",
9
- "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
10
- "type": "github"
11
- },
12
- "original": {
13
- "owner": "edolstra",
14
- "repo": "flake-compat",
15
- "type": "github"
16
- }
17
- },
18
- "flake-compat_2": {
19
- "locked": {
20
- "lastModified": 1733328505,
21
- "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
22
- "owner": "edolstra",
23
- "repo": "flake-compat",
24
- "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
25
  "type": "github"
26
  },
27
  "original": {
@@ -48,81 +33,39 @@
48
  "type": "github"
49
  }
50
  },
51
- "flake-utils_2": {
52
- "inputs": {
53
- "systems": "systems_2"
54
- },
55
- "locked": {
56
- "lastModified": 1731533236,
57
- "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
58
- "owner": "numtide",
59
- "repo": "flake-utils",
60
- "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
61
- "type": "github"
62
- },
63
- "original": {
64
- "owner": "numtide",
65
- "repo": "flake-utils",
66
- "type": "github"
67
- }
68
- },
69
- "hf-nix": {
70
- "inputs": {
71
- "flake-compat": "flake-compat_2",
72
- "flake-utils": "flake-utils_2",
73
- "nixpkgs": "nixpkgs"
74
- },
75
- "locked": {
76
- "lastModified": 1751968576,
77
- "narHash": "sha256-cmKrlWpNTG/hq1bCaHXfbdm9T+Y6V+5//EHAVc1TLBE=",
78
- "owner": "huggingface",
79
- "repo": "hf-nix",
80
- "rev": "3fcd1e1b46da91b6691261640ffd6b7123d0cb9e",
81
- "type": "github"
82
- },
83
- "original": {
84
- "owner": "huggingface",
85
- "repo": "hf-nix",
86
- "type": "github"
87
- }
88
- },
89
  "kernel-builder": {
90
  "inputs": {
91
  "flake-compat": "flake-compat",
92
  "flake-utils": "flake-utils",
93
- "hf-nix": "hf-nix",
94
- "nixpkgs": [
95
- "kernel-builder",
96
- "hf-nix",
97
- "nixpkgs"
98
- ]
99
  },
100
  "locked": {
101
- "lastModified": 1752758138,
102
- "narHash": "sha256-twHfCnTbiVz1ScEOvtaJxjBJhqlx56YWhZOgg83qxzg=",
103
  "owner": "huggingface",
104
- "repo": "kernel-builder",
105
- "rev": "39cdfec039c0d2d57aeb4bfd7bb75fcf13187103",
106
  "type": "github"
107
  },
108
  "original": {
109
  "owner": "huggingface",
110
- "repo": "kernel-builder",
111
  "type": "github"
112
  }
113
  },
114
  "nixpkgs": {
115
  "locked": {
116
- "lastModified": 1747820358,
117
- "narHash": "sha256-fTqsZsUX6M3yeEvgyQvXcbGmT2CaRVyVwsi8eK29Oj4=",
118
- "owner": "danieldk",
119
  "repo": "nixpkgs",
120
- "rev": "d3c1681180717528068082103bf323147de6ab0b",
121
  "type": "github"
122
  },
123
  "original": {
124
- "owner": "danieldk",
125
- "ref": "cudatoolkit-12.9-kernel-builder",
126
  "repo": "nixpkgs",
127
  "type": "github"
128
  }
@@ -132,22 +75,28 @@
132
  "kernel-builder": "kernel-builder"
133
  }
134
  },
135
- "systems": {
 
 
 
 
 
 
136
  "locked": {
137
- "lastModified": 1681028828,
138
- "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
139
- "owner": "nix-systems",
140
- "repo": "default",
141
- "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
142
  "type": "github"
143
  },
144
  "original": {
145
- "owner": "nix-systems",
146
- "repo": "default",
147
  "type": "github"
148
  }
149
  },
150
- "systems_2": {
151
  "locked": {
152
  "lastModified": 1681028828,
153
  "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
 
2
  "nodes": {
3
  "flake-compat": {
4
  "locked": {
5
+ "lastModified": 1767039857,
6
+ "narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
7
  "owner": "edolstra",
8
  "repo": "flake-compat",
9
+ "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  "type": "github"
11
  },
12
  "original": {
 
33
  "type": "github"
34
  }
35
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  "kernel-builder": {
37
  "inputs": {
38
  "flake-compat": "flake-compat",
39
  "flake-utils": "flake-utils",
40
+ "nixpkgs": "nixpkgs",
41
+ "rust-overlay": "rust-overlay"
 
 
 
 
42
  },
43
  "locked": {
44
+ "lastModified": 1776692659,
45
+ "narHash": "sha256-IdEd/8cjS1aScm+aD2R7ywxrZoxmJpiIy3/16dvHf34=",
46
  "owner": "huggingface",
47
+ "repo": "kernels",
48
+ "rev": "dc5437c5ef9514a1eb20aff6a8f20864972c9ccf",
49
  "type": "github"
50
  },
51
  "original": {
52
  "owner": "huggingface",
53
+ "repo": "kernels",
54
  "type": "github"
55
  }
56
  },
57
  "nixpkgs": {
58
  "locked": {
59
+ "lastModified": 1774935083,
60
+ "narHash": "sha256-Mh6bLcYAcENBAZk3RoMPMFCGGMZmfaGMERE4siZOgP4=",
61
+ "owner": "NixOS",
62
  "repo": "nixpkgs",
63
+ "rev": "2f4fd5e1abf9bac8c1d22750c701a7a5e6b524c6",
64
  "type": "github"
65
  },
66
  "original": {
67
+ "owner": "NixOS",
68
+ "ref": "nixos-unstable-small",
69
  "repo": "nixpkgs",
70
  "type": "github"
71
  }
 
75
  "kernel-builder": "kernel-builder"
76
  }
77
  },
78
+ "rust-overlay": {
79
+ "inputs": {
80
+ "nixpkgs": [
81
+ "kernel-builder",
82
+ "nixpkgs"
83
+ ]
84
+ },
85
  "locked": {
86
+ "lastModified": 1774926780,
87
+ "narHash": "sha256-JMdDYn0F+swYBILlpCeHDbCSyzqkeSGNxZ/Q5J584jM=",
88
+ "owner": "oxalica",
89
+ "repo": "rust-overlay",
90
+ "rev": "962a0934d0e32f42d1b5e49186f9595f9b178d2d",
91
  "type": "github"
92
  },
93
  "original": {
94
+ "owner": "oxalica",
95
+ "repo": "rust-overlay",
96
  "type": "github"
97
  }
98
  },
99
+ "systems": {
100
  "locked": {
101
  "lastModified": 1681028828,
102
  "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
flake.nix CHANGED
@@ -2,7 +2,7 @@
2
  description = "Flake for versions test kernel";
3
 
4
  inputs = {
5
- kernel-builder.url = "github:huggingface/kernel-builder";
6
  };
7
 
8
  outputs =
@@ -10,8 +10,8 @@
10
  self,
11
  kernel-builder,
12
  }:
13
- kernel-builder.lib.genFlakeOutputs {
 
14
  path = ./.;
15
- rev = self.shortRev or self.dirtyShortRev or self.lastModifiedDate;
16
  };
17
  }
 
2
  description = "Flake for versions test kernel";
3
 
4
  inputs = {
5
+ kernel-builder.url = "github:huggingface/kernels";
6
  };
7
 
8
  outputs =
 
10
  self,
11
  kernel-builder,
12
  }:
13
+ kernel-builder.lib.genKernelFlakeOutputs {
14
+ inherit self;
15
  path = ./.;
 
16
  };
17
  }