Commit Graph

205 Commits

Author SHA1 Message Date
Junya Morioka 1bc47b39f2 refactor: rename docs to doc and pages to docs for GitHub Pages
- Rename docs/ to doc/ (contains packages.md, release_history.md, etc.)
- Rename pages/ to docs/ (contains search page index.html)
- Update all references in README.md, workflows, and Python scripts

GitHub Pages only supports / or /docs as the source directory.
2026-01-18 01:12:22 +09:00
Junya Morioka b757ec3af8 fix: add runner tag for Linux self-hosted runner 2026-01-18 00:41:44 +09:00
Junya Morioka b376519e1b fix: add runner tag for Linux self-hosted runner 2026-01-18 00:29:20 +09:00
Junya Morioka 43ac973390 fix(ci): checkout default branch in Update Docs job
Checkout the default branch instead of the tag to avoid detached HEAD
state, which caused git pull to fail.
2026-01-09 03:05:51 +09:00
Junya Morioka 11c294fd18 fix(ci): run gh release upload from correct repository context
Apply the same fix to _build_windows.yml and _build_windows_code_build.yml
to ensure gh CLI uses the correct repository context when uploading
release assets.
2026-01-08 11:12:41 +09:00
Junya Morioka 197f0e7693 fix(ci): run gh release upload from correct repository context
Remove working-directory from Upload Release Asset step to ensure
gh CLI uses the correct repository (flash-attention-prebuild-wheels)
instead of the cloned flash-attention repository.
2026-01-08 11:10:00 +09:00
Junya Morioka 72a0037e34 ci: simplify tag name extraction in Windows workflows
- Replace manual GITHUB_REF string manipulation with github.ref_name in _build_windows.yml, _build_windows_code_build.yml, and _build_windows_self_host.yml.
2026-01-08 01:51:48 +09:00
Junya Morioka 45e1cc0b1e ci: add docs for Windows selh-hosted 2026-01-07 18:04:38 +09:00
Junya Morioka 25520845fb ci: fix workflow path for Windows self-hosted runner
- Update the reference from _build_windows_self_hosted.yml to _build_windows_self_host.yml to match the actual file name.
2026-01-07 18:02:16 +09:00
Junya Morioka 78b202b86d ci: add self-hosted Windows build workflow
- Add _build_windows_self_host.yml for self-hosted Windows wheel builds.
- Integrate self-hosted Windows build job into main build.yml workflow.
- Update create_matrix.py to include and enable Windows self-hosted build matrix.
- Implement comprehensive cleanup steps in the self-hosted runner workflow to ensure a clean state for subsequent runs.
2026-01-07 17:58:47 +09:00
Junya Morioka 7101956b00 fix: correct wheel path and improve build logging in Windows workflows
- Fix wheel path issue caused by build_windows.ps1 changing to
  flash-attention directory (was causing double path like
  flash-attention/flash-attention/dist)
- Add working-directory to Install Test and Upload steps for explicit
  directory control
- Add log grouping (::group::) in build_windows.ps1 for collapsible
  logs in GitHub Actions
- Suppress verbose output with pip -q, git clone -q, and
  NINJA_STATUS=""
2026-01-04 01:19:48 +09:00
Junya Morioka ecc2e0ce06 fix: add continue-on-error to uv setup step
- Allow workflow to continue if uv installation fails
2026-01-03 13:58:47 +09:00
Junya Morioka 6538460eaf fix: improve Windows self-hosted runner workflow and update docs
- Add pwsh and vswhere to prerequisites list
- Increase timeout to 2160 minutes for long builds
- Improve CUDA cleanup using proper Windows uninstaller
- Update README platform table and manylinux compatibility note
2026-01-03 13:51:40 +09:00
Junya Morioka 991becbb7f feat: add Windows self-hosted runner support and update documentation
- Add .github/workflows/test-windows-self-hosted.yml for Windows self-hosted runner testing.
- Update README.md with comprehensive self-hosted runner setup guides for Linux, ARM64, and Windows.
- Update self-hosted-runner/compose.yml to enable both x86_64 and ARM64 runner services.
- Add a note about manylinux2_28 and update the sponsor list in README.md.
2026-01-03 00:20:57 +09:00
Junya Morioka 603aa0a66d docs: Update docs 2025-12-23 16:38:52 +09:00
Junya Morioka 2f3b1245f7 refactor: consolidate self-hosted workflows with auto-detection
- Merge _build_manylinux_self_host.yml into _build_linux_self_host.yml
- Add automatic package manager detection (apt-get/dnf) for both x86_64 and ARM64
- Add environment check steps to all self-hosted workflows
- Update build.yml to use unified workflow with container-image parameter
- Remove duplicate build_wheels_manylinux_self_hosted job
- Update test workflows to use consolidated workflow
- Remove manylinux_self_hosted matrix configuration
- Set manylinux container image for ARM64 test workflow
2025-12-21 04:06:56 +09:00
Junya Morioka df03c553f7 refactor: extract common build steps into reusable composite action
- Create .github/actions/build-and-upload composite action for shared build logic
- Consolidate Python/uv setup, CUDA setup, wheel building, testing, and upload steps
- Update _build_linux.yml to use new composite action (reduced from 136 to 69 lines)
- Update _build_linux_arm_self_host.yml to use composite action with cleanup enabled
- Update _build_linux_self_host.yml for both container and no-container jobs
- Update _build_manylinux_self_host.yml to use composite action
- Reduce code duplication by ~200+ lines across all workflow files
2025-12-21 03:36:44 +09:00
Junya Morioka 7e97699c9e fix: add tag_name for linux build 2025-12-17 18:05:59 +09:00
Junya Morioka acb50f4b17 feat: add manylinux self-hosted build job and enable version matrix
- Add manylinux self-hosted build workflow job in build.yml
- Configure manylinux matrix with flash-attn versions 2.6.3, 2.7.4, 2.8.3
- Enable Python versions 3.10, 3.11, 3.12 for manylinux builds
- Configure CUDA versions 12.8 and 13.0 for manylinux builds
- Add manylinux_self_hosted to build and release workflow dependencies
- Update create_matrix.py to enable manylinux_self_hosted matrix configuration
- Disable Windows and Windows CodeBuild matrices temporarily
2025-12-17 16:48:28 +09:00
Junya Morioka 9efebf9016 fix: change step's shell for windows 2025-12-16 22:04:59 +09:00
Junya Morioka 1bbe3b0ca9 ci: fix virtual environment path for Windows workflows
- Update .venv/bin to .venv/Scripts for Windows compatibility
- Use PowerShell syntax for path assignment in _build_windows_code_build.yml
- Ensure correct GitHub PATH environment variable setup on Windows
2025-12-16 21:47:05 +09:00
Junya Morioka 64ec9c048a wip: add manylinux build 2025-12-13 22:32:37 +09:00
Junya Morioka 034c45614d wip: add manylinux build 2025-12-13 22:31:59 +09:00
Junya Morioka 7a3fe044d8 ci: fix auditwheel repair step output references
- Add step ID to auditwheel_repair for proper output tracking
- Update wheel path references to use correct step outputs
- Add patchelf dependency for ARM Linux builds
- Add explicit shell specification for manylinux workflow
2025-12-13 20:23:03 +09:00
Junya Morioka b88d206f75 ci: add sudo passwordless configuration for manylinux self-hosted workflow
- Configure root user with passwordless sudo access
- Required for subsequent gh installation step in manylinux build environment
2025-12-13 18:44:15 +09:00
Junya Morioka df77e68130 ci: remove sudo from gh installation in manylinux workflow
- Remove unnecessary sudo calls from dnf commands in self-hosted manylinux environment
- Commands are already executed with root privileges in the CI runner
2025-12-13 18:28:53 +09:00
Junya Morioka 92464a9b3b ci: refactor wheel handling and enable manylinux artifact generation
- Change wheel output to use full path instead of basename for better flexibility
- Add patchelf to build dependencies for wheel repair operations
- Enable auditwheel repair step with proper exclusions for CUDA/torch libraries
- Separate wheel path variable to track both standard and manylinux versions
- Rename manylinux workflow file to reflect its dedicated purpose
- Update workflow references to use renamed manylinux workflow
- Use fromjson() for runner parameter parsing in ARM build workflow
- Update test workflows to use container environment consistently
- Support both manylinux and standard wheel uploads to releases
2025-12-13 18:18:50 +09:00
Junya Morioka a7b3fe362e ci: refactor wheel path variables and adjust build matrix
- Replace WHEEL_NAME variables with WHEEL_PATH to store full file paths
  instead of just filenames, eliminating redundant directory concatenation
- Update all workflow references to use WHEEL_PATH directly in install
  and upload commands
- Simplify manylinux wheel handling by storing full paths in output variables
- Reduce tested versions in Linux self-hosted matrix to focus on Python 3.14
- Reduce tested versions in ARM64 self-hosted matrix to focus on Python 3.14
  and flash-attn 2.8.3
- Apply formatting standardization to Windows CodeBuild matrix
2025-12-13 17:25:23 +09:00
Junya Morioka 5d44bd8cd6 ci: refactor Python installation and enable manylinux wheel generation
- Replace actions/setup-python with uv-based Python installation
- Consolidate build dependencies into Python installation step
- Enable auditwheel repair and manylinux wheel generation across all Linux builds
- Add patchelf as build dependency for glibc compatibility
- Update Python version to 3.14 in build and test workflows
2025-12-13 17:16:05 +09:00
Junya Morioka c899e7f45e wip: add manylinux build 2025-12-11 18:27:36 +09:00
Junya Morioka bb762ba251 wip: add manylinux build 2025-12-11 18:18:18 +09:00
Junya Morioka 9ce129e222 wip: add manylinux build 2025-12-11 17:36:31 +09:00
Junya Morioka 88add986b3 ci: remove auditwheel 2025-12-11 15:06:30 +09:00
Junya Morioka 38ed47024c ci: refactor self-hosted runner configuration to use JSON format
- Convert runs-on array syntax to single runner value with fromjson()
- Update runner parameter defaults to JSON string format
- Add runner labels to build workflow calls
- Update test workflow runner configurations
- Remove unused test-utils.yml workflow
2025-12-11 03:08:03 +09:00
Junya Morioka c561145598 ci: add architecture labels to self-hosted runner configuration
- Add arm64 label to ARM64 self-hosted runner job
- Add x64 label to x86_64 self-hosted runner jobs (both container and non-container)
- Ensures runner selection by both custom runner name and architecture type
2025-12-11 02:45:25 +09:00
Junya Morioka 51ed48b6fb ci: add manylinux wheel generation and upload in Linux self-hosted build
- Add auditwheel repair step to generate manylinux-compatible wheels
- Verify manylinux wheel installation and package imports
- Upload repaired wheels to GitHub release with --clobber flag
2025-12-11 02:37:17 +09:00
Junya Morioka ab165f3f22 refactor: reorganize auditwheel repair and add manylinux platform support
- Move auditwheel repair after initial release upload with continue-on-error to allow pipeline continuation
- Add manylinux platform normalization support in normalize_platform_name()
- Expand self-hosted build matrix to include Python 3.14 and Flash Attention 2.8.3
- Improve wheel upload flow by separating regular and manylinux wheel handling
2025-12-11 02:26:39 +09:00
Junya Morioka 61052b550b feat: add auditwheel for manylinux 2025-12-11 01:56:28 +09:00
Junya Morioka 521f9dcbaf feat: add ARM64 self-hosted runner build support
- Update build workflow to include ARM64 self-hosted runner job.
- Modify Dockerfile and compose.yml for ARM64 runner setup.
- Add ARM64 self-hosted matrix configuration.
- Update README with ARM64 self-hosted runner instructions.
2025-12-11 01:10:52 +09:00
Junya Morioka 67e64ccae1 ci: refactor ARM64 self-hosted runner workflow configuration
- Rename workflow file from _build_linux_self_host.yml to _build_linux_arm_self_host.yml for clarity
- Update workflow_call inputs to use flexible container image configuration
- Remove use-container flag and replace with container-image parameter
- Consolidate ubuntu image handling with --platform linux/arm64 option
- Update test-arm-self-hosted.yml to reference the renamed workflow
2025-12-11 00:29:39 +09:00
Junya Morioka 7d12c6d7e4 feat: Add ARM64 support with QEMU in self-hosted runner
- Add container-image input parameter to _build_linux_self_host workflow
- Create test-arm-self-hosted workflow for ARM64 Linux builds
- Add qemu-user-static package to self-hosted runner Dockerfile
- Enable ARM64 container builds using arm64v8/ubuntu:22.04
2025-12-10 23:54:47 +09:00
Junya Morioka 20a9205e2c fix: Update build parallel 2025-12-05 12:33:24 +09:00
Junya Morioka 3f85abe6ad fix: typo 2025-12-05 12:17:56 +09:00
Junya Morioka 9ea7fc442a chore: add environment test 2025-12-05 12:13:37 +09:00
Junya Morioka 9e2a3c1ed4 chore: add environment test 2025-12-05 12:05:13 +09:00
Junya Morioka 29a4910983 chore: add environment test 2025-12-05 12:01:23 +09:00
Junya Morioka 27238c64ee chore: add environment test 2025-12-05 11:58:12 +09:00
Junya Morioka f8ade8d982 feat: add non-container job 2025-12-05 02:43:03 +09:00
Junya Morioka a9ee815546 fix: typo 2025-12-05 02:21:08 +09:00
Junya Morioka 86ec13bd18 fix: add arm workflow dependencies 2025-12-05 01:32:28 +09:00