File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed
Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,18 @@ version = "0.1.0"
88requires-python = " >=3.10, <3.13"
99readme = " README.md"
1010dependencies = [
11- " mlx>=0.25 .0" ,
11+ " mlx>=0.27 .0" ,
1212 " torch>=2.6.0" ,
1313 " torchtune>=0.6.1" ,
1414 " torchao>=0.10.0" ,
15- " mlx-lm>=0.23 .0" ,
15+ " mlx-lm>=0.26 .0" ,
1616 " numpy>=2.2.4" ,
1717 " pytest>=8.3.5" ,
1818 " ruff>=0.11.6" ,
1919 # this should not usually appear in a project dependency list but we add it to simplify the setup process
2020 " setuptools>=62" ,
2121 " nanobind==2.4.0" ,
22- " pytest-benchmark>=5.1.0"
22+ " pytest-benchmark>=5.1.0" ,
2323]
2424
2525[tool .pdm .scripts ]
@@ -48,7 +48,5 @@ copy-test.cmd = "python scripts/dev-tools.py copy-test"
4848book.cmd = " mdbook serve book/"
4949
5050[tool .pytest .ini_options ]
51- addopts = [
52- " --import-mode=importlib" ,
53- ]
51+ addopts = [" --import-mode=importlib" ]
5452pythonpath = " src"
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ class Axpby : public mx::Primitive {
6363 const std::vector<int > &axes) override ;
6464
6565 /* * Print the primitive. */
66- void print (std::ostream &os) override ;
66+ void print (std::ostream &os);
6767
6868 /* * Name of the primitive (not virtual in some MLX versions). */
69- const char * name () const { return " Axpby" ; }
69+ const char * name () const override { return " Axpby" ; }
7070
7171 /* * Equivalence check **/
7272 bool is_equivalent (const mx::Primitive &other) const override ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace tiny_llm_ext {
99void load_library (mx::Device d, const char *path) {
1010#ifdef _METAL_
1111 auto &md = mx::metal::device (d);
12- md.register_library (" tiny_llm_ext" , path);
12+ md.get_library (" tiny_llm_ext" , path);
1313#endif
1414}
1515
You can’t perform that action at this time.
0 commit comments