This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from socket import fromfd, AF_UNIX, SOCK_STREAM | |
from threading import Thread | |
import anyio | |
import zmq | |
async def async_recv(sock, flags=0): | |
if flags & zmq.NOBLOCK: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Compare slug changes for kubespawner 7 | |
To be run in an active jupyterhub deployment, via: | |
cat compare_slugs.py | kubectl exec -it $(kubectl get pod -l component=hub -o name) -- python3 - | |
""" | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zmq | |
print("imported") | |
print("has", zmq.has("ipc")) | |
with zmq.Context() as ctx: | |
print("context") | |
with ctx.socket(zmq.PUSH) as push, ctx.socket(zmq.PULL) as pull: | |
print("sockets") | |
url = "tcp://127.0.0.1:5555" | |
push.bind(url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ARTICLE{test, | |
author={Last Name, First}, | |
journal={Computing in Science {\&} Engineering}, | |
title={Thing \& Other thing}, | |
year={3048}, | |
volume={1}, | |
number={1}, | |
pages={1-2}, | |
keywords={}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import pytest_asyncio | |
@pytest_asyncio.fixture(scope="module", loop_scope="module") | |
async def current_loop(): | |
return asyncio.get_running_loop() | |
@pytest_asyncio.fixture(loop_scope="module", autouse=True) | |
async def cleanup_after(): | |
yield |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.12 | |
RUN python3 -m pip install weasyprint wurlitzer jupyterlab | |
RUN python3 -c 'import weasyprint' | |
ENV HOME=/home/test | |
# make an unwritable cache directory | |
RUN useradd test \ | |
&& mkdir -p $HOME/.fontconfig \ | |
&& mkdir -p $HOME/.cache \ | |
&& chown test $HOME | |
USER test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================ | |
================================================================================ | |
linux-armv7l | |
================================================================================ | |
================================================================================ | |
win-32 | |
================================================================================ | |
================================================================================ | |
linux-ppc64le | |
linux-ppc64le::fenics-dolfinx-0.8.0-py311hd7d00f9_1.conda |
NewerOlder