Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch default to release and disable pushing to pypi for now #175

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
wf_category:
description: "workflow category: NIGHTLY, RELEASE"
type: string
default: NIGHTLY
default: RELEASE
push_to_pypi:
description: "When set to true, built whl and tar.gz will be pushed to public pypi if all tests pass"
type: boolean
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/trigger-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ on:
workflow_dispatch:
inputs:
wf_category:
description: "workflow category, default is NIGHTLY"
description: "workflow category, default is RELEASE"
type: choice
options:
- NIGHTLY
- RELEASE
default: NIGHTLY
default: RELEASE
push_to_pypi:
description: "when set and tests pass, then '.whl' & '.tar.gz' will be pushed to public pypi"
type: boolean
default: true
default: false
gitref:
description: "git commit hash or tag name"
type: string
Expand All @@ -27,11 +27,11 @@ jobs:

BUILD-TEST:
uses: ./.github/workflows/build-test.yml
name: ${{ inputs.wf_category || 'NIGHTLY' }}
name: ${{ inputs.wf_category || 'RELEASE' }}
with:
wf_category: ${{ inputs.wf_category || 'NIGHTLY' }}
wf_category: ${{ inputs.wf_category || 'RELEASE' }}
gitref: ${{ inputs.gitref || 'main' }}
push_to_pypi: ${{ inputs.push_to_pypi || true }}
push_to_pypi: ${{ inputs.push_to_pypi || false }}
test_configs: '[{"python":"3.11.4","label":"ubuntu-22.04","timeout":"40"},
{"python":"3.10.12","label":"ubuntu-20.04","timeout":"40"},
{"python":"3.9.17","label":"k8s-a100-solo","timeout":"40"},
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
asset_identifier: 'compressed*.whl'

- name: upload whl to "nm-pypi"
if: ${{ inputs.push_to_pypi }}
uses: neuralmagic/nm-actions/actions/gcp-upload-asset@v1.1.0
with:
bucket_target: ${{ secrets.GCP_NM_PYPI_DIST }}
Expand All @@ -130,6 +131,7 @@ jobs:
asset_identifier: 'compressed*.tar.gz'

- name: upload tar.gz to "nm-pypi"
if: ${{ inputs.push_to_pypi }}
uses: neuralmagic/nm-actions/actions/gcp-upload-asset@v1.1.0
with:
bucket_target: ${{ secrets.GCP_NM_PYPI_DIST }}
Expand Down
2 changes: 1 addition & 1 deletion src/compressed_tensors/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


version_base = "0.6.0"
is_release = False # change to True to set the generated version as a release version
is_release = True # change to True to set the generated version as a release version


def _generate_version(
Expand Down
Loading