-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update cmake to handle gpu backend Previously, cmake would always build targeting cuda. We now dispatch on FF_GPU_BACKEND to target either cuda, hip_cuda, or hip_rocm. The hip backends are expected to use the hip cmake config file that comes with a hip install. The discrepancies for targeting hip_cuda vs hip_rocm are documented inline. Configure legion for hip backend * Build configuration scripts * docker build updates * Small source modifications for build add legion max return size check fix std::stringstream var decl parsed as function explicit template instantiations include string * Move tools to top level directory We glob for files under src to get the source files for the flexflow target. Moving tools to the top level directory prevents the tools sourcefiles from accidentally being added to the flexflow target source files. change substitution_to_dot cuda_add_executable to add_executable. When building with hip_rocm, we don't have cuda available and shouldn't need to build with it for substitution_to_dot as the target does not directly build and cuda kernels * fix miopen.h headers * Fix hip kernels * system dependencies install instructions * Ensure docker build script is called from FF_HOME * Add .dockerignore file to ignore build directories * Add new lines * Fix CI for changes in PR do not call sed to manually change config script clone submodules in docker job * Change the python setup script to shell out to the config script instead of parsing it adhoc * Update docs to note FF_GPU_BACKEND=hip_cuda is not supported * Fix path to mt5 dockerfile
- Loading branch information
1 parent
68a048a
commit 81304c8
Showing
30 changed files
with
670 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Ignore all folders which start with "build" | ||
/build*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.