We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65695cc commit 7100f22Copy full SHA for 7100f22
optillm/__init__.py
@@ -0,0 +1,13 @@
1
+from importlib import util
2
+import os
3
+
4
+# Get the path to the root optillm.py
5
+spec = util.spec_from_file_location(
6
+ "optillm.root",
7
+ os.path.join(os.path.dirname(os.path.dirname(__file__)), "optillm.py")
8
+)
9
+module = util.module_from_spec(spec)
10
+spec.loader.exec_module(module)
11
12
+# Export the main function
13
+main = module.main
0 commit comments