Skip to content

Installation

Prerequisites

Engine specific

To ensure safe and efficient execution of translated code for evaluation, the InterTrans Engine relies on Singularity containers. Additionally, Go is required for installing the InterTrans Engine.

Before proceeding, please make sure the necessary prerequisites are installed. Use the following guides to complete the installation:

Inference backend

You can use the OpenAI API or any other inference tool that is compatible with OpenAI API specification. We officially support vLLM, and we recommend it to be used as the inference backend. Other alternatives that we have not tested but should be compatible include HuggingFace Text Generation Interface and LiteLLM.

Installation

  1. Clone a version from the repository. Use “Latest” for the latest version and “Replication” for paper replication purposes.

    Terminal window
    git clone https://github.com/RISElabQueens/intertrans
    cd InterTrans
    git checkout main
  2. Install the Python client

    Terminal window
    cd client
    pip install -e .