Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refine_canary_compile_info
Browse files Browse the repository at this point in the history
clackhan committed Jan 16, 2025
1 parent 362d56c commit 326f934
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
@@ -66,6 +66,7 @@ jobs:
nexfort-ref: ${{ inputs.nexfort-ref }}
python-publish: false
upload_oss: true
canary: "1"
os: ${{ matrix.os }}
python: ${{ matrix.python }}
torch_version: ${{ matrix.torch_version }}
12 changes: 12 additions & 0 deletions .github/workflows/wheels_build.yml
Original file line number Diff line number Diff line change
@@ -47,6 +47,11 @@ on:
python-publish:
required: false
type: boolean
canary:
type: string
required: false
default: "0"
description: "Canay compile"
secrets:
GH_NEX_PRIV_TOKEN:
required: true
@@ -103,6 +108,11 @@ on:
python-publish:
required: false
type: boolean
canary:
type: string
required: false
default: "0"
description: "Canay compile"
secrets:
OSS_ACCESS_KEY_ID:
required: true
@@ -121,6 +131,8 @@ env:
DISTUTILS_USE_SDK: 1 # otherwise distutils will complain on windows about multiple versions of msvc
TWINE_USERNAME: __token__
OSS_BUCKET: nexfort-whl
NEXFORT_COMPILE_CANARY: inputs.canary
NEXFORT_BRANCH_NAME: inputs.nexfort-ref

jobs:
generate-build-date:
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -58,6 +58,8 @@ environment-pass = [
"PIP_FIND_LINKS",
"PIP_NO_BUILD_ISOLATION",
"PY",
"NEXFORT_COMPILE_CANARY",
"NEXFORT_BRANCH_NAME",
"NEXFORT_BUILD_CYTHONIZE",
"NEXFORT_BUILD_WITH_CUTLASS",
"TORCH_CUDA_ARCH_LIST",
2 changes: 2 additions & 0 deletions pyproject_cu124.toml
Original file line number Diff line number Diff line change
@@ -58,6 +58,8 @@ environment-pass = [
"PIP_FIND_LINKS",
"PIP_NO_BUILD_ISOLATION",
"PY",
"NEXFORT_COMPILE_CANARY",
"NEXFORT_BRANCH_NAME",
"NEXFORT_BUILD_CYTHONIZE",
"NEXFORT_BUILD_WITH_CUTLASS",
"TORCH_CUDA_ARCH_LIST",

0 comments on commit 326f934

Please sign in to comment.