Skip to content
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
7 changes: 4 additions & 3 deletions .github/workflows/build_cuda_all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
${{ runner.os }}-buildx-

- name: Inject slug/short variables
id: slug
uses: rlespinasse/[email protected]

- name: Login to GitHub Container Registry
Expand All @@ -58,14 +59,14 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{env.GITHUB_REPOSITORY_OWNER_PART}}/${{env.GITHUB_REPOSITORY_NAME_PART}}
ghcr.io/${{ github.repository_owner }}/$(basename ${{ github.repository }})
flavor: |
latest=false
tags: |
type=semver,pattern=cuda-${{matrix.compute_capability}}-{{version}}
type=semver,pattern=cuda-${{matrix.compute_capability}}-{{major}}.{{minor}}
type=raw,value=cuda-${{matrix.compute_capability}}-latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=cuda-${{matrix.compute_capability}}-sha-${{ env.GITHUB_SHA_SHORT }}
type=raw,value=cuda-${{matrix.compute_capability}}-sha-${{ steps.slug.outputs.short_sha }}
type=raw,value=cuda-${{matrix.compute_capability}}-sha-${{ github.sha }}
- name: Build and push Docker image
id: build-and-push-cuda
uses: docker/build-push-action@v6
Expand Down
9 changes: 2 additions & 7 deletions mistralrs-quant/src/distributed/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,8 @@ mod ops {
}

pub fn internal(&self) -> &[::core::ffi::c_char; 128usize] {
&[
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
]
static ZEROED_ID: [::core::ffi::c_char; 128] = [0; 128];
&ZEROED_ID
}
}

Expand Down
Loading