fix submodule stubs (#1492)

This commit is contained in:
Awni Hannun
2024-10-15 16:23:37 -07:00
committed by GitHub
parent 3f86399922
commit f9f8c167d4
3 changed files with 24 additions and 2 deletions

View File

@@ -141,6 +141,8 @@ class GenerateStubs(Command):
"nanobind.stubgen",
"-m",
"mlx.core",
"-p",
"python/mlx/_stub_patterns.txt",
]
subprocess.run(stub_cmd + ["-r", "-O", out_path])
# Run again without recursive to specify output file name