-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fx2trt ]add temporary setup.py for fx2trt #1132
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code conforms to C++ style guidelines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code conforms to C++ style guidelines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code conforms to C++ style guidelines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code conforms to C++ style guidelines
|
I am interested to hear that the build takes 40mins. That is pretty concerning, is this building a docker container + building the library or just the library? |
Yeah, I think we should just have one setup.py and maybe add an |
I think the my previous description is not accurate due to the reason that my internal machine is shared with other user. |
The current import path does not change. I am still using
Is there way we can add send a flag to control setup to proceed in different way as @yinghai mentioned? |
We already have a few flags in the top level setup.py already, I guess we can add a new one to gate which file are added and tasks which are performed |
@frank-wei what happens with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code conforms to C++ style guidelines
It won't throw error if user run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code conforms to C++ style guidelines
I have updated the PR. Users can rely on a flag to enable installation of fx2trt only. |
close it as it is merged in #1137 |
Description
Currently, we do not have nightly build setup yet(circle CI is enabled and we are free to add the tests and nightly) and user who want to use fx2trt needs to set up installation which takes long time to figure out the environment setting (for my first time, it takes half day since I am not able to use docker). Also the torch_tensorrt build takes around 40 mins.
So I propose to add temporary solution for fx2trt user who would like to try it only, we add this setup file for their convenience. Overall, they can quickly install the fx2trt module and try it in their python environment.
It is needed for our hugging face PR since the reviewers need to repro the results.
Here is what I can think of the possible universal solution, NV folks and Meta folks, please feel free to comment:
WORKSPACE
andBUILD
files.Checklist: