Update docs for GPU selection, fix test assertions + test_pipeline
This commit is contained in:
@ -46,6 +46,11 @@ RUN pip3 install --no-cache-dir \
|
||||
cmcrameri
|
||||
|
||||
# Install CuPy for GPU acceleration (optional - will fallback to numpy if not available)
|
||||
# CUPY_CUDA_COMPILE_WITH_CACHE=1 enables JIT compilation of kernels for
|
||||
# GPU architectures not included in the pre-built wheel (e.g. sm_89, sm_120).
|
||||
# The devel image includes nvcc for JIT compilation. If CuPy still fails
|
||||
# (CUDA_ERROR_NO_BINARY_FOR_GPU), the pipeline falls back to CPU automatically.
|
||||
ENV CUPY_CUDA_COMPILE_WITH_CACHE=1
|
||||
RUN pip3 install --no-cache-dir cupy-cuda12x || echo "CuPy not available - GPU acceleration disabled"
|
||||
|
||||
# Copy and install the pipeline package
|
||||
|
||||
Reference in New Issue
Block a user