Skip to content

Example configurations for using pyhf with HTCondor inspired by the Center for High Throughput Computing examples

License

Notifications You must be signed in to change notification settings

pyhf/htcondor-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTCondor examples for pyhf workflows

Example configurations for using pyhf with HTCondor inspired by the Center for High Throughput Computing examples.

CUDA enabled Docker images

These examples assume that you want to use GPU resources to take advantage of hardware acceleration and so focus on using the pyhf Docker base images built on the NVIDIA CUDA enabled images for runtime use with the the NVIDIA Container Toolkit.

Local installation

Example:

docker pull pyhf/cuda:0.7.2-jax-cuda-11.6.0-cudnn8

Local use

To check that NVIDIA GPUS are being properly detected run

docker run --rm --gpus all pyhf/cuda:0.7.2-jax-cuda-11.6.0-cudnn8 'nvidia-smi'

and check if the nvidia-smi output appears correctly.

To run (interactively) using GPUs on the host machine:

docker run --rm -ti --gpus all pyhf/cuda:0.7.2-jax-cuda-11.6.0-cudnn8

About

Example configurations for using pyhf with HTCondor inspired by the Center for High Throughput Computing examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published