From c8297c2e995a4973cdea03d9b9f8263be868507b Mon Sep 17 00:00:00 2001 From: Sebastian Rogawski Date: Thu, 9 Jan 2025 20:31:45 -0800 Subject: [PATCH 1/2] fixs missing include --- src/nvidia_resiliency_ext/straggler/cupti_src/BufferPool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nvidia_resiliency_ext/straggler/cupti_src/BufferPool.cpp b/src/nvidia_resiliency_ext/straggler/cupti_src/BufferPool.cpp index 65bba01..c11e9d2 100644 --- a/src/nvidia_resiliency_ext/straggler/cupti_src/BufferPool.cpp +++ b/src/nvidia_resiliency_ext/straggler/cupti_src/BufferPool.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include From 1136af022b8f9f93c882c83b92fabec7cd984a0c Mon Sep 17 00:00:00 2001 From: Sebastian Rogawski Date: Thu, 16 Jan 2025 21:35:23 -0800 Subject: [PATCH 2/2] fix for build wheel --- .github/workflows/unit_test.yml | 6 +++--- build.py => cupti_build.py | 0 pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename build.py => cupti_build.py (100%) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 0d05c04..5d566db 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -33,15 +33,15 @@ jobs: uses: actions/checkout@v4 - name: Build wheel with Python 3.10 run: | - python3.10 -m pip install -U setuptools poetry build six + python3.10 -m pip install -U setuptools poetry build six pybind11 python3.10 -m poetry build -f wheel - name: Build wheel with Python 3.11 run: | - python3.11 -m pip install -U setuptools poetry build six + python3.11 -m pip install -U setuptools poetry build six pybind11 python3.11 -m poetry build -f wheel - name: Build wheel with Python 3.12 run: | - python3.12 -m pip install -U setuptools poetry build six + python3.12 -m pip install -U setuptools poetry build six pybind11 python3.12 -m poetry build -f wheel - name: Upload the wheel artifact uses: actions/upload-artifact@v4 diff --git a/build.py b/cupti_build.py similarity index 100% rename from build.py rename to cupti_build.py diff --git a/pyproject.toml b/pyproject.toml index 8f18165..fdaf7dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ exclude = [ ] [tool.poetry.build] -script = "build.py" +script = "cupti_build.py" generate-setup-file = true [build-system] @@ -44,7 +44,7 @@ ft_launcher = "nvidia_resiliency_ext.fault_tolerance.launcher:main" profile = "black" # black-compatible line_length = 100 # should match black parameters py_version = 310 # python 3.10 as a target version -extend_skip = ["setup.py", "build.py"] +extend_skip = ["setup.py", "cupti_build.py"] [tool.black] line_length = 100