Skip to content

Instantly share code, notes, and snippets.

View minrk's full-sized avatar

Min RK minrk

View GitHub Profile
# packages in environment at /srv/conda/envs/notebook:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
_py-xgboost-mutex 2.0 gpu_0 conda-forge
adlfs 2024.12.0 pyhd8ed1ab_0 conda-forge
affine 2.4.0 pyhd8ed1ab_1 conda-forge
aiobotocore 2.19.0 pyhd8ed1ab_0 conda-forge
aiohappyeyeballs 2.4.4 pyhd8ed1ab_1 conda-forge
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
package:
name: test
version: 1.0.0
source:
url: https://example.org
sha256: 85866aa052a5a6153468ba31712ea49db6b7d3858d6b3d3f25b7fa926e04691f
requirements:
host:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
version: 6
environments:
default:
channels:
- url: https://conda.anaconda.org/conda-forge/
packages:
osx-arm64:
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/c-compiler-1.9.0-hdf49b6b_0.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/ca-certificates-2025.1.31-hf0a4a13_0.conda
- conda: https://conda.anaconda.org/conda-forge/osx-arm64/cctools-1010.6-hb4fb6a3_3.conda
FROM quay.io/condaforge/miniforge3
RUN mamba create -n mpich -y -c minrk/label/libfabric-test 'mpich=4.2.3=libfab119*' mpi4py
# force install outdated libfabric
# can't request 1.14 via solver since 1.14 is not allowed by run_exports
# install via URL skips solve and just stages files
RUN mamba install -n mpich -y https://anaconda.org/minrk/libfabric/1.14.0/download/linux-64/libfabric-1.14.0-ha594dbc_0.conda
ENV MPICH_CH4_UCX_CAPABILITY_DEBUG=1 \
MPICH_CH4_OFI_CAPABILITY_DEBUG=1
CMD ["mamba", "run", "-n", "mpich", "sh", "-c", "mamba list --explicit; fi_info --version; mpiexec -n 4 python3 -c 'from mpi4py import MPI; print(MPI.COMM_WORLD.rank); MPI.COMM_WORLD.Barrier()'"]
echo "activating ${VIRTUAL_ENV}"
source ${VIRTUAL_ENV}/bin/activate
"""
Script to patch pvc_name associations in KubeSpawner
for https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/3574
Meant to be run via `kubectl exec` in the hub pod.
If a server has multiple matching pods, `select_pvc` is used to pick which one to associate.
Default: pick the oldest match. Edit `select_pvc` to change this behavior.
diff --color -u impi-devel-2021.12.0-h57928b3_537/Library/include/mpi.h impi-devel-2021.13.1-h57928b3_767/Library/include/mpi.h
--- impi-devel-2021.12.0-h57928b3_537/Library/include/mpi.h 2024-02-14 01:18:00
+++ impi-devel-2021.13.1-h57928b3_767/Library/include/mpi.h 2024-07-02 05:37:19
@@ -261,6 +261,7 @@
#define MPI_C_LONG_DOUBLE_COMPLEX ((MPI_Datatype)0x4c001042)
/* other extension types */
#define MPIX_C_FLOAT16 ((MPI_Datatype)MPI_DATATYPE_NULL)
+#define MPIX_C_BF16 ((MPI_Datatype)MPI_DATATYPE_NULL)
#ifdef MPICH_DEFINE_ATTR_TYPE_TYPES