Skip to content

Commit

Permalink
fix mamba
Browse files Browse the repository at this point in the history
  • Loading branch information
calderjo committed May 24, 2024
1 parent 86a15be commit cc40287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ RUN conda config --add channels nvidia && \
# b/341938540: unistall grpc-cpp to allow >=v24.4 cudf and cuml to be installed.
{{ if eq .Accelerator "gpu" }}
RUN pip uninstall -y pyarrow && \
mamba remove grpc-cpp && \
mamba remove --force grpc-cpp && \
mamba install -y -c conda-forge spacy cudf>=24.4 cuml>=24.4 cupy cuda-version=$CUDA_MAJOR_VERSION.$CUDA_MINOR_VERSION && \
/tmp/clean-layer.sh
{{ else }}
Expand Down
2 changes: 1 addition & 1 deletion tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def getAcceleratorName():
try:
deviceName = subprocess.check_output(['nvidia-smi', '--query-gpu=name', '--format=csv,noheader'])
return deviceName.decode('utf-8').strip();
return deviceName.decode('utf-8').strip()
except FileNotFoundError:
return("nvidia-smi not found.")

Expand Down

0 comments on commit cc40287

Please sign in to comment.