• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

Managing Block Allocation to Servers for Decentralized Inference of LLM Model in Petals System

Student: Borisov Nikita

Supervisor: Maxim A. Babenko

Faculty: Faculty of Computer Science

Educational Programme: Modern Computer Science (Master)

Final Grade: 8

Year of Graduation: 2024

In the modern world, large language models (LLMs) with often more than 100 billion parameters have gained immense popularity. Today, anyone can freely download pre-trained models of such scale. However, using these models requires high-tech and expensive equipment, which is inaccessible to many researchers. One solution to this problem is PETALS, a system for collaborative work with large NLP models that combines the resources of multiple participants into a single pool. One of the main use cases for this system is the inference of a trained model to provide predictions for users. In the current implementation of PETALS, the strategy for allocating blocks that the server will service optimizes computational throughput at each layer of the model. This approach works well for training but not for inference. This study investigated the problem of block allocation that optimizes the response time for client inference requests of a trained model. The algorithms considered in this work managed to speed up the inference of a large language model by up to 1.8 times compared to the baseline strategy in a test simulator.

Full text (added May 27, 2024)

Student Theses at HSE must be completed in accordance with the University Rules and regulations specified by each educational programme.

Summaries of all theses must be published and made freely available on the HSE website.

The full text of a thesis can be published in open access on the HSE website only if the authoring student (copyright holder) agrees, or, if the thesis was written by a team of students, if all the co-authors (copyright holders) agree. After a thesis is published on the HSE website, it obtains the status of an online publication.

Student theses are objects of copyright and their use is subject to limitations in accordance with the Russian Federation’s law on intellectual property.

In the event that a thesis is quoted or otherwise used, reference to the author’s name and the source of quotation is required.

Search all student theses