SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.18677 · 2023

Splitwise: Efficient generative LLM inference using phase splitting

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 2 violated it and 3 have no contract verdict; 1 failure of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2311.18677.json · badge: /api/ran/2311.18677.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Azure/AzurePublicDataset canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
microsoft/mscclpp canonical (classifier label)
classifier basis: census
1 ran · 1 no recorded run
Mutinifni/splitwise-sim community (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
FunctionStatusWhere it lives
exponential_func Ran
ran, violated the contract we drafted
Azure/AzurePublicDataset/analysis/GreenSKU-Framework/src/derate_curve.py
pointer only (licence: CC-BY-4.0) · get_code("ad9d55a26906b5ea")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, Azure/AzurePublicDataset, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_samples Ran
ran on a synthesized input
Mutinifni/splitwise-sim/generate_trace.py
code served (permissive licence) · get_code("506db674bec6177c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (100,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd
from scipy import stats

# Setup for generate_samples function

# Test case 1: constant distribution
distribution_1 = 'constant'
params_1 = {'value': 5.0}
size_1 = 100

# Test case 2: normal distribution
distribution_2 = 'normal'
params_2 = {'loc': 0.0, 'scale': 1.0}
size_2 = 50

# Test case 3: truncnorm distribution
distribution_3 = 'truncnorm'
params_3 = {'a': -1.0, 'b': 1.0, 'loc': 0.0, 'scale': 1.0}
size_3 = 30

# Test case 4: uniform distribution
distribution_4 = 'uniform'
params_4 = {'loc': 0.0, 'scale': 10.0}
size_4 = 75

# Test case 5: exponential distribution
distribution_5 = 'exponential'
params_5 = {'scale': 2.0}
size_5 = 40

# Test case 6: poisson distribution
distribution_6 = 'poisson'
params_6 = {'mu': 3.0}
size_6 = 60

# Test case 7: trace distribution (reading from CSV)
# Create a temporary in-memory CSV-like dataframe
df_trace = pd.DataFrame({
    'values': [1.2, 2.3, 3.4, 4.5, 5.6, 6.7, 7.8, 8.9],
    'other': [10, 20, 30, 40, 50, 60, 70, 80]
})
# Save to a temporary location for testing
import tempfile
import os
temp_dir = tempfile.gettempdir()
trace_file = os.path.join(temp_dir, 'trace_data.csv')
df_trace.to_csv(trace_file, index=False)

distribution_7 = 'trace'
params_7 = {'filename': trace_file, 'column': 'values'}
size_7 = 20

# Use the first test case as the primary argument
ARGS = {
    'distribution': 'normal',
    'params': {'loc': 0.0, 'scale': 1.0},
    'size': 100
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (100,) — shape (100,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_trace Ran
ran on a synthesized input
Mutinifni/splitwise-sim/generate_trace.py
code served (permissive licence) · get_code("4484b5133c7d2676")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd
from scipy import stats


class Distribution:
    def __init__(self, name, params):
        self.name = name
        self.params = params


class Distributions:
    def __init__(self):
        self.arrival_process = Distribution('exponential', {'scale': 0.5})
        self.application_id = Distribution('randint', {'loc': 0, 'scale': 5})
        self.batch_size = Distribution('randint', {'loc': 1, 'scale': 4})
        self.prompt_size = Distribution('randint', {'loc': 10, 'scale': 100})
        self.token_size = Distribution('randint', {'loc': 50, 'scale': 200})
        self.request_type = Distribution('randint', {'loc': 0, 'scale': 3})


ARGS = {
    'max_requests': 10,
    'distributions': Distributions(),
    'end_time': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_dict_opex Ran
ran, honoured the contract we drafted
Azure/AzurePublicDataset/analysis/GreenSKU-Framework/src/carbon_model.py
pointer only (licence: CC-BY-4.0) · get_code("265acc16bd2f6830")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, Azure/AzurePublicDataset, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_exponential_scale Ran
ran on a synthesized input
Mutinifni/splitwise-sim/generate_trace.py
code served (permissive licence) · get_code("000bada9d64375ba")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - num_servers: integer (used in division)
# - utilization: float (used in division)
# - request_duration: float (used in division, described as seconds)
# The function performs simple arithmetic: interarrival_time = request_duration / (1.0 * utilization)
# then exponential_scale = interarrival_time / num_servers

ARGS = {
    "num_servers": 4,
    "utilization": 0.8,
    "request_duration": 2.5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_opex Ran
ran, honoured the contract we drafted
Azure/AzurePublicDataset/analysis/GreenSKU-Framework/src/carbon_model.py
pointer only (licence: CC-BY-4.0) · get_code("5f01c092abff1074")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, Azure/AzurePublicDataset, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_opex_from_dict Ran
ran, honoured the contract we drafted
Azure/AzurePublicDataset/analysis/GreenSKU-Framework/src/carbon_model.py
pointer only (licence: CC-BY-4.0) · get_code("4289a7837d69706c")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, Azure/AzurePublicDataset, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

human_readable_size Ran
ran; our contract draft was wrong, not the code
microsoft/mscclpp/python/mscclpp_benchmark/allreduce_bench.py
code served (permissive licence) · get_code("02639e1a8ca8fe63")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

# Set seed for reproducibility
torch.manual_seed(0)

# The function human_readable_size takes a numeric size and converts it to human-readable format
# It iterates through unit names and divides by 1024 until the size is less than 1024
# Parameters:
# - size: a numeric value (int or float) representing bytes
# - decimal_places: an int for formatting precision

ARGS = {
    'size': 1048576,  # 1 MiB in bytes
    'decimal_places': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
quadratic_func Ran
ran, violated the contract we drafted
Azure/AzurePublicDataset/analysis/GreenSKU-Framework/src/derate_curve.py
pointer only (licence: CC-BY-4.0) · get_code("75e8bf267d221c4f")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, Azure/AzurePublicDataset, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_processors_power Not yet run
unverified (harvested, no recorded run)
Mutinifni/splitwise-sim/power_model.py
code served (permissive licence) · get_code("a902f7f41d56887f")
How it ran

no invocation recorded.

is_torch_tensor Not yet run
unverified (harvested, no recorded run)
microsoft/mscclpp/python/mscclpp/utils.py
code served (permissive licence) · get_code("74353330e86481bb")
How it ran

no invocation recorded.

linear_func Not yet run
unverified (harvested, no recorded run)
Azure/AzurePublicDataset/analysis/GreenSKU-Framework/src/derate_curve.py
pointer only (licence: CC-BY-4.0) · get_code("70c2b2f7c128e238")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, Azure/AzurePublicDataset, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recent innovations in generative large language models (LLMs) have made their applications and use-cases ubiquitous. This has led to large-scale deployments of these models, using complex, expensive, and power-hungry AI accelerators, most commonly GPUs. These developments make LLM inference efficiency an important challenge. Based on our extensive characterization, we find that there are two main phases during an LLM inference request: a compute-intensive prompt computation, and a memory-intensive token generation, each with distinct latency, throughput, memory, and power characteristics. Despite state-of-the-art batching and scheduling, the token generation phase underutilizes compute resources. Specifically, unlike compute-intensive prompt computation phases, token generation phases do not require the compute capability of the latest GPUs, and can be run with lower power and cost. With Splitwise, we propose splitting the two phases of a LLM inference request on to separate machines. This allows us to use hardware that is well-suited for each phase, and provision resources independently per phase. However, splitting an inference request across machines requires state transfer from the machine running prompt computation over to the machine generating tokens. We implement and optimize this state transfer using the fast back-plane interconnects available in today's GPU clusters. We use the Splitwise technique to design LLM inference clusters using the same or different types of machines for the prompt computation and token generation phases. Our clusters are optimized for three key objectives: throughput, cost, and power. In particular, we show that we can achieve 1.4x higher throughput at 20% lower cost than current designs. Alternatively, we can achieve 2.35x more throughput with the same cost and power budgets.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.18677")
get_code_for_paper("2311.18677")
have("2311.18677")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.18677.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.18677.svg)](https://syntology.ai/paper/2311.18677)

Connect an agent — have() is free.