Skip to main content

Unified API for training and inference

Project description

SkyRL tx: Unified API for training and inference

⚠️ The project is currently very early with lots of missing features (e.g. currently LoRA is only supported for the MLP layer, model sharding is in a very early state). Many of these are easy to implement and we welcome contributions! ⚠️

SkyRL tx is an open-source cross-platform library that allows users to set up their own service exposing a Tinker like REST API for neural network forward and backward passes. It unifies inference and training into a single, common API, abstracting away the infrastructure challenges of managing GPUs.

The t in tx stands for transformers, training, or tinker, and the x stands for "cross-platform".

Getting Started

See the following SkyRL tx blog posts for more info and examples:

See also our talk SkyRL tx: A unified training and inference engine at Ray Summit 2025.

Features

✅ Implemented

  • Training: MultiLoRA fine-tuning with gradient accumulation
  • Inference: Text generation with
    • Temperature sampling
    • Stop token support
  • API: REST API compatible with Tinker specification

🚧 In Progress

  • Model sharding improvements
  • Additional LoRA layer support

Project Status

This is a very early release of SkyRL tx. While the project is functional end-to-end, there is still a lot of work to be done. We are sharing it with the community to invite feedback, testing, and contributions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skyrl_tx-0.2.1.tar.gz (59.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skyrl_tx-0.2.1-py3-none-any.whl (70.5 kB view details)

Uploaded Python 3

File details

Details for the file skyrl_tx-0.2.1.tar.gz.

File metadata

  • Download URL: skyrl_tx-0.2.1.tar.gz
  • Upload date:
  • Size: 59.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for skyrl_tx-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3a7ee4edf9edcec60e969676c791284bd5d2800e7832d9ba13fc0d05cee80ce9
MD5 f42e17c3289904938f48fca8ddd05c26
BLAKE2b-256 3f328328101edeec1e036432e788321751dd31382a30306e3f36b543812d856e

See more details on using hashes here.

File details

Details for the file skyrl_tx-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: skyrl_tx-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 70.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for skyrl_tx-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc458444aedfea2523d898b309c24cc17c85decaf07ad47bf850fd9379d7e6d9
MD5 42f22ceb66bc08c576b4dd82287e60a0
BLAKE2b-256 4c2457dca2656f4142752973ee933c612e43f192004eb7726732b5297f826b7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page