Efficient computation

Last updated: May 15, 2023

Efficient training

For getting started with efficient training of neural networks for NLP, check CSC’s machine learning guide, which has been expanded and improved as part of the GreenNLP project.

Particularly relevant sections:

Also relevant is the PyTorch module documentation which includes a short tutorial on how to use the PyTorch profiler.

In GreenNLP we have also collected other links with recipies and tips for LLM training, in particular for LUMI:

Efficient inference

For doing LLM inference on supercomputers, see the section on inference in CSC’s guide on Working with large language models on supercomputers.

For continuous inference, or running inference as a service, cloud platforms are more suited, such as CSC’s Pouta or Rahti services.