skip to primary navigationskip to content
 

GPU facilities

The department—and the broader University—has a variety of resources for general-purpose GPU-based computation (using CUDA, OpenCL or similar).

Research Skills session

If you are about to need GPUs (or other resources for a computationally-intensive experiment) we recommend that you either attend the Research Skills Programme module "Compute Resources for ACS and PhD students", held during Michaelmas term, or watch the recording with slides (2024). This provides a quick overview of the different facilities available, guidance on when and how to use each of them, and gives some tips and tricks on effectively running a GPU-based experiment.

Shared development servers

We provide shared servers to allow researchers and ACS / Part III students to quickly get started developing and testing code that needs GPUs (and/or a lot of CPU resource).  The shared GPU development servers have a single GPU and are intended for testing and development work when you will only intermittently need access to a GPU, running your experimental code for up to a few o minutes at most, to keep the impact on other users to a minimum.  Once your code is working and needs to be run for more than a few minutes at a time, you should move to another system (preferably the High Performance Computing Service); see below.

Unfortunately this service is not available for Part II projects.

PhD students, researchers and faculty can use one shared development server:

  • dev-gpu-2.cl.cam.ac.uk which has four shared L40S 48GB GPUs

ACS (MPhil / Part III) students can use two shared development servers:

  • dev-gpu-acs.cl.cam.ac.uk which has eight shared low-power L4 24GB GPUs
  • dev-gpu-acs2.cl.cam.ac.uk which has four shared L40S 48GB GPUs

The shared GPUs in these three development servers (and especially the low-power L4 GPUs) are not intended for long-running experiments such as training machine learning algorithms, and are just there to test that your code basically functions before moving to a dedicated high-performance GPU such as HPC or a GPU VM.  The multiple GPUs are to support multiple users in parallel; you should generally only use a single GPU.  The system automatically sets CUDA_VISIBLE_DEVICES to direct you towards a single GPU, and sets your CPU core affinity in order to run your code on the associated CPU.

Make sure to only use the correct server.  If you are an ACS student, you must not use dev-gpu-2.  If you are not an ACS student, you must not use dev-gpu-acs or dev-gpu-acs2.

If you have not used SSH to connect to a departmental server before, see our SSH documentation.  You cannot log in using just a password; you will probably need to upload your SSH public key at sshkeys.cl.cam.ac.uk or set up a VPN and Kerberos.

NB: unlike many other departmental Linux systems, these servers do not use the filer for home directories by default, but you can access your lab home directory (if you have a Kerberos ticket) in /homes/$USER.  Further information on storage below.

High Performance Computing Service

When you need to run resource-intensive experiments (GPU or CPU), you should first look at the High Performance Computing Service, also known as CSD3, where there are large GPU and CPU clusters available to users within the University. At the time of writing, the main GPU cluster "Wilkes3" comprises 80 nodes each with 4 NVIDIA A100 80GB GPUs. This is substantially larger than any GPU facility within the department (indeed we believe it to be one of the best supercomputers in the world).  All researchers in the department can gain access to these facilities, in many cases for free.

Departmental GPUs

For applications which cannot use the High Performance Computing Facility, the department has a small pool of virtual machine hosts with NVIDIA GPUs installed.  Most of the GPUs are NVIDIA Quadro RTX 8000 (Turing microarchitecture):

  • 1x NVIDIA Turing TU102 chip
  • 48GB GDDR6 memory
  • Host systems have Intel Xeon 5218 (Cascade Lake microarchitecture) CPUs; 10 GPUs per 2 CPUs
  • GPUs are connected to CPUs via PCIe switches

We have a small number of NVIDIA A100 GPUs (Ampere microarchitecture) for those who need them:

  • 1x NVIDIA Ampere GA100 chip
  • 80GB HBM2e memory
  • Host systems have Intel Xeon 4210R (Cascade Lake microarchitecture) CPUs; 4 GPUs per 2 CPUs
  • GPUs are directly connected to CPUs

Additionally there are a few NVIDIA L40S GPUs, for ACS MPhil and Part III projects:

  • 1x NVIDIA Ada Lovelace AD102 chip
  • 48GB GDDR6 memory
  • Host systems have Intel Xeon Gold 6526Y (Emerald Rapids microarchitecture) CPUs
  • GPUs are directly connected to CPUs

These can be used directly on Xen virtual machines via PCIe passthrough.  Personal GPU VMs are assigned an available GPU of the correct type on startup, and you have sole use of that GPU whilst your VM is running.  A typical VM on the platform has 8 CPU cores and 64GB RAM, although this is flexible.

If you need a GPU and cannot use HPC, talk to the service desk and we will provide a personal GPU VM on one of these systems if appropriate.  You will need to give some justification as to why HPC is not suitable for your work; we believe HPC is the better option for most people, as well as the sustainable option for the department: we have very limited capacity for GPUs in our departmental datacentre.

VMs can be managed (started, rebooted, shut down) via Xen Orchestra (for which you will need to be connected to our VPN unless you are already connected to the internal Departmental network).  It is important to only start a GPU VM when it is needed, and to shut down the VM again once you have finished to return the GPU to the spares pool so that others can use it.

Storage on departmental GPUs

The shared development servers and departmental GPU virtual machines described above use a shared storage platform, meaning that you have access to the same home directory on both.  This storage is hosted on a high-speed storage system dedicated to the departmental GPU cluster.

This storage platform uses resilient enterprise NVMe flash storage and a large RAM cache in order to provide sufficient performance for data-intensive computation; the storage is therefore expensive.  You must not waste space, as that becomes very costly to the department.  Any data not being actively used for computation should be moved to lower-cost storage, such as filer or archive.

By default, you are permitted 1TB of storage in your GPU home directory.  (At the time of writing this is not automatically enforced, but disk quota enforcement will be enabled soon.)  If you need more than 1TB, contact [Javascript required] to ask for an increased quota, giving your justification for this requirement.

Data is compressed automatically wherever possible.

Shared dataset storage

If you need to download or produce a large dataset (tens of gigabytes or larger) that may (either now or in future) be useful to other people, we can provide shared storage so that multiple users can access the same copy of this dataset without having to store multiple copies; contact [Javascript required] to request this.

Research group machines

Some research groups also have their own GPU servers of various kinds. Talk to others in your research group to find out about them.

Help and information

We've collected some tips for using departmental GPU facilities from experienced users. Please see the GPU page on the wiki, and feel free to add your own advice for others. There's also a mailing list for GPU users in the department to ask questions and hold discussions. You can find the archives and manage your subscription here.