Conversation
|
Both CMake and Makefile work now, we just need to fix the |
Can we do make install? Legion's cmake will install the legion files into the conda env. |
I think so! But why should we change FlexFlow so that its python bindings are only built if we install it somewhere, and remove the option to run FlexFlow without installing? With the changes in the |
I think your PR just runs setup.py as the post make operation, which is the same as make install. You are just make the |
|
Let's discuss this PR during the FF meeting today. |
Description of changes:
This is a big refactor of python binding. We do not build our own
flexflow_python, instead, we rely on thelegion_pythonprovided by Legion. There are two major benefits:FlexFlow will detect that legion python is used, and use legion python, if we run
FlexFlow will detect that legion python is not used, so fall back to use native python.
TODOs:
libflexflow.soandlibflexflow_c.so-ll:gpu, it will be removed from argv, and FlexFlow can not get the value from the argv.Related Issues:
Linked Issues:
Issues closed by this PR:
flexflow_pythonbuilt inpythoninstead of the build directory #785Before merging: