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
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ ENV LD_LIBRARY_PATH=""
ENV OKP_CONTENT=$OKP_CONTENT
ENV BUILD_OCP_DOCS=$BUILD_OCP_DOCS

USER 0
WORKDIR /rag-content

RUN if [ "$FLAVOR" == "gpu" ]; then \
Expand Down
1 change: 1 addition & 0 deletions temporary_cpu.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ ENV LD_LIBRARY_PATH=""
ENV OKP_CONTENT=$OKP_CONTENT
ENV BUILD_OCP_DOCS=$BUILD_OCP_DOCS

USER 0
WORKDIR /rag-content

RUN if [ "$BUILD_UPSTREAM_DOCS" = "true" ]; then \
Expand Down
1 change: 1 addition & 0 deletions temporary_gpu.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ ENV LD_LIBRARY_PATH=""
ENV OKP_CONTENT=$OKP_CONTENT
ENV BUILD_OCP_DOCS=$BUILD_OCP_DOCS

USER 0
WORKDIR /rag-content

RUN python -c "import torch, sys; available=torch.cuda.is_available(); print(f'CUDA is available: {available}'); sys.exit(0 if available else 1)"; \
Expand Down