SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1811.06965 · 2018

GPipe: Efficient Training of Giant Neural Networks using Pipeline Parallelism

arXiv · PDF · Open in the Atlas

Code that ran

20 of 25 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; 0 honoured the contract we drafted, 0 violated it and 19 have no contract verdict; 1 failure of our instrument; 5 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/1811.06965.json · badge: /api/ran/1811.06965.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
pytorch/pippy community (classifier label)
classifier basis not recorded on the link
10 ran · 5 no recorded run
KakaoBrain/torchgpipe community (classifier label)
classifier basis not recorded on the link
9 ran · 0 no recorded run
alondj/Pytorch-Gpipe reimplementation (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
alexnet Ran
ran; our contract draft was wrong, not the code
alondj/Pytorch-Gpipe/sample_models/AlexNet.py
pointer only (licence: NONE) · get_code("effafd8df78cdde1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alondj/Pytorch-Gpipe when it was checked. 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.

create_empty_tensors Ran
ran on a synthesized input
pytorch/pippy/pippy/ManualPipelineStage.py
pointer only (licence: BSD-3-Clause) · get_code("d621b81113bea659")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

create_metadata_tensor Ran
ran on a synthesized input
pytorch/pippy/pippy/ManualPipelineStage.py
pointer only (licence: BSD-3-Clause) · get_code("e442618c006c37cc")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

current_stream Ran
ran on a synthesized input
KakaoBrain/torchgpipe/torchgpipe/stream.py
code served (permissive licence) · get_code("fb9bebfe8fecba77")
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 CPUStreamType. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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

torch.manual_seed(0)

# The function takes a single parameter: device of type torch.device
# It checks if device.type != 'cuda', so we need to test both CPU and CUDA cases
# Since we're CPU-only, we'll use a CPU device

cpu_device = torch.device('cpu')

ARGS = {
    'device': cpu_device
}
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 CPUStreamType — a CPUStreamType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CPUStreamType 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
default_stream Ran
ran on a synthesized input
KakaoBrain/torchgpipe/torchgpipe/stream.py
code served (permissive licence) · get_code("3fb6eb077f80eb2a")
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 CPUStreamType. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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

torch.manual_seed(0)

# The function takes a device parameter and returns an AbstractStream
# It checks if device.type != 'cuda', and if so returns CPUStream
# Otherwise it returns torch.cuda.default_stream(device)

# We need to construct a torch.device object
device_cpu = torch.device('cpu')

ARGS = {
    'device': device_cpu,
}
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 CPUStreamType — a CPUStreamType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CPUStreamType 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
extract_metadata_from_tensor Ran
ran on a synthesized input
pytorch/pippy/pippy/ManualPipelineStage.py
pointer only (licence: BSD-3-Clause) · get_code("b7a600ae5e37c3a3")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

flatten_args Ran
ran on a synthesized input
pytorch/pippy/pippy/_utils.py
pointer only (licence: BSD-3-Clause) · get_code("3c8d01128ba249ca")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

flatten_args_detach Ran
ran on a synthesized input
pytorch/pippy/pippy/_utils.py
pointer only (licence: BSD-3-Clause) · get_code("1a1924af4440b5fa")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

friendly_debug_info Ran
ran on a synthesized input
pytorch/pippy/pippy/_debug.py
pointer only (licence: BSD-3-Clause) · get_code("b6bb1b97b00ed3b6")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

gather Ran
ran on a synthesized input
KakaoBrain/torchgpipe/torchgpipe/microbatch.py
code served (permissive licence) · get_code("9463c0f5ec4c4938")
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 Tensor, ndim 2, dtype family float, shape (4, 4) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
from typing import List, Tuple, Union
from torch import Tensor

# Define Batch class (copied from function signature)
Tensors = Tuple[Tensor, ...]
TensorOrTensors = Union[Tensor, Tensors]
Function = callable

class Batch:
    """An abstraction of an atomic tensor or a tuple of tensors."""

    def __init__(self, value: TensorOrTensors) -> None:
        self.value = value
        self.atomic = torch.is_tensor(value)

    @property
    def tensor(self) -> Tensor:
        """Retrieves the underlying tensor."""
        if not self.atomic:
            raise AttributeError('not atomic batch')
        return self.value

    @property
    def tensors(self) -> Tensors:
        """Retrieves the underlying tensors."""
        if self.atomic:
            raise AttributeError('batch is atomic')
        return self.value

    @property
    def tensor_or_tensors(self) -> TensorOrTensors:
        """Retrieves the underlying tensor or tensors regardless of type."""
        return self.value

    def call(self, function: Function) -> 'Batch':
        """Calls a function by the underlying tensor or tensors."""
        return Batch(function(self.value))

    def __repr__(self) -> str:
        return f'Batch[atomic={self.atomic!r}]({self.value!r})'

    def __iter__(self):
        if self.atomic:
            yield self.tensor
        else:
            yield from self.tensors

    def __len__(self) -> int:
        return 1 if self.atomic else len(self.tensors)

    def __getitem__(self, index: int) -> Tensor:
        if not self.atomic:
            return self.tensors[index]
        if index != 0:
            raise IndexError('atomic batch allows index 0 only')
        return self.tensor

    def __setitem__(self, index: Union[int, slice], value: TensorOrTensors) -> None:
        if isinstance(index, int):
            self._setitem_by_index(index, value)
        else:
            self._setitem_by_slice(index, value)

    def _setitem_by_index(self, index: int, value: Tensor) -> None:
        if not self.atomic:
            i = index
            self.value = self.value[:i] + (value,) + self.value[i + 1:]
            return
        if index != 0:
            raise IndexError('atomic batch allows index 0 only')
        self.value = value

    def _setitem_by_slice(self, index: slice, value: Tensors) -> None:
        if not index.start is index.stop is index.step is None:
            raise NotImplementedError('only slice [:] supported')
        if not self.atomic:
            self.value = value
            return
        if len(value) != 1:
            raise IndexError('atomic batch cannot be replaced with multiple tensors')
        self.value = value[0]


# Set seed for reproducibility
torch.manual_seed(0)

# Create test data for gather function
# Test with atomic batches (single tensors)
batch1_atomic = Batch(torch.randn(2, 4))
batch2_atomic = Batch(torch.randn(2, 4))
outputs_atomic = [batch1_atomic, batch2_atomic]

# Also test with non-atomic batches (tuples of tensors)
batch1_tuple = Batch((torch.randn(2, 4), torch.randn(2, 3)))
batch2_tuple = Batch((torch.randn(2, 4), torch.randn(2, 3)))
outputs_tuple = [batch1_tuple, batch2_tuple]

# Use the atomic case for the main test
ARGS = {
    'outputs': outputs_atomic
}
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 Tensor, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) 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
join Ran
ran on a synthesized input
KakaoBrain/torchgpipe/torchgpipe/dependency.py
code served (permissive licence) · get_code("2b584480479935de")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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

torch.manual_seed(0)

# Create two tensors with requires_grad enabled to test the join function
input_tensor = torch.randn(2, 4, requires_grad=True)
phony_tensor = torch.randn(2, 4, requires_grad=True)

ARGS = {
    "input": input_tensor,
    "phony": phony_tensor,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
map_debug_info Ran
ran on a synthesized input
pytorch/pippy/pippy/_debug.py
pointer only (licence: BSD-3-Clause) · get_code("48f84aab14bf05d7")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

new_stream Ran
ran on a synthesized input
KakaoBrain/torchgpipe/torchgpipe/stream.py
code served (permissive licence) · get_code("17512f8707f8aff6")
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 CPUStreamType. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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

torch.manual_seed(0)

# The function takes a device parameter and creates a new stream
# We need to test with both CPU and CUDA device types
# Since we're CPU-only, we'll use CPU device

device_cpu = torch.device('cpu')

ARGS = {
    'device': device_cpu
}
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 CPUStreamType — a CPUStreamType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CPUStreamType 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
recommend_auto_balance Ran
ran on a synthesized input
KakaoBrain/torchgpipe/torchgpipe/gpipe.py
code served (permissive licence) · get_code("2b37d8e52033937a")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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

torch.manual_seed(0)

ARGS = {
    "message": "Model balancing failed during GPipe initialization"
}
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
scatter Ran
ran on a synthesized input
KakaoBrain/torchgpipe/torchgpipe/microbatch.py
code served (permissive licence) · get_code("e6e8680c8e3f7cca")
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 list, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim 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

torch.manual_seed(0)

# Test with a single atomic tensor
input_tensor = torch.randn(2, 4)
chunks = 2

ARGS = {
    "input": input_tensor,
    "chunks": chunks,
}
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 list, ndim 4, dtype family float — a list output has no array shape of its own; none is stated
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
solve Ran
ran on a synthesized input
KakaoBrain/torchgpipe/torchgpipe/balance/blockpartition.py
code served (permissive licence) · get_code("d97c0eee80161ec7")
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 list. 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
import numpy as np

# Set seed for reproducibility
torch.manual_seed(0)

# Construct arguments for solve()
# The function takes:
# - sequence: List[int] - a list of integers to partition
# - partitions: int - number of partitions (default=1)

# Create a valid sequence with enough elements
sequence = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
partitions = 3

ARGS = {
    "sequence": sequence,
    "partitions": partitions
}
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 list — a list output has no array shape of its own; none is 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
split_into_equal_size Ran
ran on a synthesized input
pytorch/pippy/pippy/ModelSplit.py
pointer only (licence: BSD-3-Clause) · get_code("a98a94de4f9b99a5")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

split_module Ran
ran on a synthesized input
KakaoBrain/torchgpipe/torchgpipe/gpipe.py
code served (permissive licence) · get_code("c04cd81ea49efab8")
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 tuple. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import torch.nn as nn
from collections import OrderedDict

torch.manual_seed(0)

# Create a simple nn.Sequential module with multiple layers
module = nn.Sequential(
    OrderedDict([
        ('layer1', nn.Linear(4, 3)),
        ('layer2', nn.Linear(3, 3)),
        ('layer3', nn.Linear(3, 2)),
        ('layer4', nn.Linear(2, 2)),
    ])
)

# Define balance: split into 2 partitions (2 layers each)
balance = [2, 2]

# Define devices: list of CPU devices
devices = [torch.device('cpu'), torch.device('cpu')]

ARGS = {
    'module': module,
    'balance': balance,
    'devices': devices,
}
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 tuple — a tuple output has no array shape of its own; none is 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
split_on_size_threshold Ran
ran on a synthesized input
pytorch/pippy/pippy/ModelSplit.py
pointer only (licence: BSD-3-Clause) · get_code("d7cd2aa574b58d09")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

stage_backward Ran
ran on a synthesized input
pytorch/pippy/pippy/_backward.py
pointer only (licence: BSD-3-Clause) · get_code("ff4ccc02c28908ec")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

load_checkpoint Not yet run
unverified (harvested, no recorded run)
pytorch/pippy/pippy/utilities/hf_checkpoint.py
pointer only (licence: BSD-3-Clause) · get_code("39f707712b771120")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

merge_chunks Not yet run
unverified (harvested, no recorded run)
pytorch/pippy/pippy/microbatch.py
pointer only (licence: BSD-3-Clause) · get_code("6208a5903d876734")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

sorted_batch_isend_irecv Not yet run
unverified (harvested, no recorded run)
pytorch/pippy/pippy/PipelineSchedule.py
pointer only (licence: BSD-3-Clause) · get_code("0c9bc9a454f61b83")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

split_args_kwargs_into_chunks Not yet run
unverified (harvested, no recorded run)
pytorch/pippy/pippy/microbatch.py
pointer only (licence: BSD-3-Clause) · get_code("a73bf81e7ff6e480")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

split_by_graph_with_num_stages Not yet run
unverified (harvested, no recorded run)
pytorch/pippy/pippy/graphsplit.py
pointer only (licence: BSD-3-Clause) · get_code("72a75759840f524d")
How it ran

The body of this sample is withheld: BSD-3-Clause, as GitHub detects it on this paper's repository, pytorch/pippy, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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 25 samples lifted from this paper's linked repositories, 25 carry a function identity and 0 do not. Of the 25 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 24 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.

FunctionAlso present inEarliest-datedOthers named
alexnet 5 other papers
5 later
1812.00332 (2018-12)
ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardware
1904.03441 (2019-04)
Iterative Normalization: Beyond Standardization towards Efficient Whitening
1909.10364 (2019-09)
Class-dependent Compression of Deep Neural Networks
and 2 more not named here

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

Scaling up deep neural network capacity has been known as an effective approach to improving model quality for several different machine learning tasks. In many cases, increasing model capacity beyond the memory limit of a single accelerator has required developing special algorithms or infrastructure. These solutions are often architecture-specific and do not transfer to other tasks. To address the need for efficient and task-independent model parallelism, we introduce GPipe, a pipeline parallelism library that allows scaling any network that can be expressed as a sequence of layers. By pipelining different sub-sequences of layers on separate accelerators, GPipe provides the flexibility of scaling a variety of different networks to gigantic sizes efficiently. Moreover, GPipe utilizes a novel batch-splitting pipelining algorithm, resulting in almost linear speedup when a model is partitioned across multiple accelerators. We demonstrate the advantages of GPipe by training large-scale neural networks on two different tasks with distinct network architectures: (i) Image Classification: We train a 557-million-parameter AmoebaNet model and attain a top-1 accuracy of 84.4% on ImageNet-2012, (ii) Multilingual Neural Machine Translation: We train a single 6-billion-parameter, 128-layer Transformer model on a corpus spanning over 100 languages and achieve better quality than all bilingual models.

For agents

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

get_harvested_code_for_paper("1811.06965")
get_code_for_paper("1811.06965")
have("1811.06965")

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

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

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

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

Connect an agent — have() is free.