Skip to content

Commit 80cd58c

Browse files
committed
LCORE-1440: Build CUDA GPU rag-content in Konflux
1 parent 41652c8 commit 80cd58c

File tree

71 files changed

+11642
-738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+11642
-738
lines changed

.github/workflows/build_and_push_dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build CPU image, main branch push quay.io
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ syedriko-lcore-1440-cuda ]
66
pull_request:
77
branches: ["main"]
88

.github/workflows/build_and_push_dev_gpu.yaml renamed to .github/workflows/build_and_push_dev_cuda.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: Build GPU image, main branch push quay.io
1+
name: Build CUDA image, main branch push quay.io
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ syedriko-lcore-1440-cuda ]
66

77
env:
8-
IMAGE_NAME: rag-content-gpu
8+
IMAGE_NAME: rag-content-cuda
99
IMAGE_NAMESPACE: lightspeed-core
1010
IMAGE_REGISTRY: quay.io
1111
LATEST_TAG: latest
12-
CONTAINER_FILE: Containerfile-gpu
12+
CONTAINER_FILE: Containerfile-cuda
1313

1414
jobs:
15-
build-and-push-dev-gpu:
15+
build-and-push-dev-cuda:
1616
runs-on: ubuntu-latest
1717
permissions:
1818
contents: read

.pre-commit-config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# https://pre-commit.com
2+
# Align with Makefile targets: black + ruff on scripts, src, tests (ruff: scripts, src only).
3+
# embeddings_model/ is excluded via pyproject.toml (Black/Ruff) and is outside these paths.
4+
default_language_version:
5+
python: python3.12
6+
7+
repos:
8+
- repo: https://github.com/psf/black
9+
rev: 25.1.0
10+
hooks:
11+
- id: black
12+
files: ^(scripts|src|tests)/
13+
14+
- repo: https://github.com/astral-sh/ruff-pre-commit
15+
rev: v0.15.0
16+
hooks:
17+
- id: ruff
18+
args: [--fix]
19+
files: ^(scripts|src)/

0 commit comments

Comments
 (0)