Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 2.69 KB

README.md

File metadata and controls

33 lines (22 loc) · 2.69 KB

Code Translation Application

Code translation is the process of converting code written in one programming language to another programming language while maintaining the same functionality. This process is also known as code conversion, source-to-source translation, or transpilation. Code translation is often performed when developers want to take advantage of new programming languages, improve code performance, or maintain legacy systems. Some common examples include translating code from Python to Java, or from JavaScript to TypeScript.

Table of Contents

  1. Architecture
  2. Deployment Options
  3. Monitoring and Tracing

Architecture

The CodeTrans application is an end-to-end workflow that leverages the capability of LLMs. The workflow falls into the following architecture:

architecture

The CodeTrans example is implemented using the component-level microservices defined in GenAIComps.

This Code Translation use case demonstrates Text Generation Inference across multiple platforms. Currently, we provide examples for Intel Gaudi2 and Intel Xeon Scalable Processors, and we invite contributions from other hardware vendors to expand OPEA ecosystem.

Deployment Options

The table below lists currently available deployment options. They outline in detail the implementation of this example on selected hardware.

Category Deployment Option Description
On-premise Deployments Docker compose CodeTrans deployment on Xeon
CodeTrans deployment on Gaudi
CodeTrans deployment on AMD ROCm
Kubernetes Helm Charts
GMC
Azure Work-in-progress
Intel Tiber AI Cloud Work-in-progress