Skip to content

Commit

Permalink
Merge branch 'dlrm-pcg' of https://github.com/easyeasydev/FlexFlow in…
Browse files Browse the repository at this point in the history
…to dlrm-pcg
  • Loading branch information
easyeasydev committed Jan 23, 2025
2 parents c8d0062 + 7b15464 commit b81629c
Show file tree
Hide file tree
Showing 599 changed files with 3,598 additions and 44,162 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ indent_size = 4
[*.toml]
indent_style = space
indent_size = 2

[*.md]
indent_style = space
indent_size = 2
40 changes: 40 additions & 0 deletions .flake/pkgs/ffdb/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ lib
, stdenv
, makeWrapper
, gdb
, python3
, proj
}:

stdenv.mkDerivation rec {
pname = "ffdb";
version = "0.1";

pythonPath = with python3.pkgs; makePythonPath [
proj
];

dontBuild = true;

nativeBuildInputs = [ makeWrapper ];

src = ./.;

installPhase = ''
mkdir -p $out/share/ffdb
cp ffdb.py $out/share/ffdb
makeWrapper ${gdb}/bin/gdb $out/bin/gdb \
--add-flags "-q -x $out/share/ffdb/ffdb.py" \
--set NIX_PYTHONPATH ${pythonPath} \
--prefix PATH : ${lib.makeBinPath [
python3
]}
cp $out/bin/gdb $out/bin/ffdb
'';

nativeCheckInputs = [
gdb
python3
proj
];
}
7 changes: 7 additions & 0 deletions .flake/pkgs/ffdb/ffdb.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from proj.config_file import get_config_root
from pathlib import Path
import gdb

gdb.execute(f'directory {get_config_root(Path.cwd())}')
gdb.prompt_hook = lambda x: '(ffdb) '
gdb.execute('set history save on')
4 changes: 0 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,3 @@ Linked Issues:

Issues closed by this PR:
- Closes #

**Before merging:**

- [ ] Did you update the [flexflow-third-party](https://github.com/flexflow/flexflow-third-party) repo, if modifying any of the Cmake files, the build configs, or the submodules?
24 changes: 0 additions & 24 deletions .github/workflows/clang-format-check.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: clang-format
on: [push, pull_request, workflow_dispatch]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: lockshaw/[email protected]
with:
clang-format-version: "16"
exclude-regex: '\.proto$'
9 changes: 0 additions & 9 deletions .github/workflows/helpers/build_target.sh

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/helpers/cmake_cuda.sh

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/helpers/free_space_on_runner_gpu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -euo pipefail
set -x

sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
85 changes: 0 additions & 85 deletions .github/workflows/helpers/gpu_ci_helper.py

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/helpers/install_cudnn.sh

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/helpers/install_dependencies.sh

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/helpers/test_target.sh

This file was deleted.

Loading

0 comments on commit b81629c

Please sign in to comment.