mirror of https://github.com/llvm/torch-mlir
Add comment about relative import.
This file needs to adopt best practices for how to structure python "main"'s, but I don't know how to do that yet.pull/208/head
parent
39d50ccf0d
commit
b8ad0189ac
|
@ -13,6 +13,12 @@ from torch_mlir.torchscript.e2e_test.configs import (
|
|||
)
|
||||
|
||||
# Import tests to register them in the global registry.
|
||||
# TODO: Use a relative import.
|
||||
# That requires invoking this file as a "package" though, which makes it
|
||||
# not possible to just do `python main.py`. Instead, it requires something
|
||||
# like `python -m tochscript.main` which is annoying because it can only
|
||||
# be run from a specific directory.
|
||||
# TODO: Find out best practices for python "main" files.
|
||||
import basic
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Reference in New Issue