Installation
Prerequisites
Engine specific
To ensure safe and efficient execution of translated code for evaluation, the CodeTransEngine relies on Singularity containers. Additionally, Go is required for installing the CodeTransEngine.
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
-
Clone a version from the repository.
Terminal window git clone https://github.com/CodeTransEngine/CodeTransEnginecd InterTransgit checkout main -
Install the Python client
Terminal window cd clientpip install -e .