SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.08630 · NeurIPS · 2021

HELP: Hardware-Adaptive Efficient Latency Prediction for NAS via Meta-Learning

Sung Hwang, Kaist, Hayeon Lee, Sewoong Lee, Song Chong

arXiv · PDF · Open in the Atlas

Code that ran

14 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 3 failures 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/2106.08630.json · badge: /api/ran/2106.08630.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
HayeonLee/HELP canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
hayeonlee/help canonical (classifier label)
classifier basis: classifier_2025
5 ran · 3 no recorded run
FunctionStatusWhere it lives
GCN Ran
ran on a synthesized input · constructed an object; no result was computed
hayeonlee/help/help.py
code served (permissive licence) · get_code("71fc6adbc8a9e344")
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 an instance of its own class, GCN: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn
import math

torch.manual_seed(0)

# Define small feature dimension, adjacency dimension, and hardware embedding dimension
nfeat = 4  # number of features
hw_embed_dim = 3  # hardware embedding dimension
layer_size = 5  # hidden layer size

# Create the GCN model
model = nn.Module()

# Build arch tuple: (feat, adj)
# feat should be a batch of node feature matrices
# adj should be a batch of adjacency matrices
# The forward expects batched inputs for bmm operation

batch_size = 2
num_nodes = 6  # number of nodes in the graph

# feat: [batch_size, num_nodes, nfeat]
feat = torch.randn(batch_size, num_nodes, nfeat)

# adj: [batch_size, num_nodes, num_nodes]
adj = torch.randn(batch_size, num_nodes, num_nodes)

arch = (feat, adj)

# hw_embed: [hw_embed_dim] - will be repeated in forward
hw_embed = torch.randn(hw_embed_dim)

# Define ARGS dictionary with all GCN __init__ parameters
ARGS = {
    'nfeat': nfeat,
    'hw_embed_on': True,
    'hw_embed_dim': hw_embed_dim,
    'layer_size': layer_size,
}
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 GCN — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GCN 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
GraphConvolution Ran
ran on a synthesized input · constructed an object; no result was computed
hayeonlee/help/help.py
code served (permissive licence) · get_code("c39b18210d6af850")
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 an instance of its own class, GraphConvolution: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn
from torch.nn.parameter import Parameter
import math

torch.manual_seed(0)

class GraphConvolution(nn.Module):
    """
    Simple GCN layer, similar to https://arxiv.org/abs/1609.02907
    """

    def __init__(self, in_features, out_features, bias=True):
        super(GraphConvolution, self).__init__()
        self.in_features = in_features
        self.out_features = out_features
        self.weight = Parameter(torch.FloatTensor(in_features, out_features))
        if bias:
            self.bias = Parameter(torch.FloatTensor(out_features))
        else:
            self.register_parameter('bias', None)
        self.reset_parameters()

    def reset_parameters(self):
        stdv = 1.0 / math.sqrt(self.weight.size(1))
        self.weight.data.uniform_(-stdv, stdv)
        if self.bias is not None:
            self.bias.data.uniform_(-stdv, stdv)

    def forward(self, input_, adj, weight=None, bias=None):
        if weight is not None:
            support = torch.matmul(input_, weight)
            output = torch.bmm(adj, support)
            if bias is not None:
                return output + bias
            else:
                return output
        else:
            support = torch.matmul(input_, self.weight)
            output = torch.bmm(adj, support)
            if self.bias is not None:
                return output + self.bias
            else:
                return output

    def __repr__(self):
        return self.__class__.__name__ + ' (' + str(self.in_features) + ' -> ' + str(self.out_features) + ')'


# Create test arguments
in_features = 4
out_features = 3

# Create instance
gcn_layer = GraphConvolution(in_features=in_features, out_features=out_features, bias=True)

# Create input tensors for forward pass
# input_: shape (batch, num_nodes, in_features) = (2, 5, 4)
input_ = torch.randn(2, 5, 4)

# adj: adjacency matrix for batch matrix multiply, shape (batch, num_nodes, num_nodes) = (2, 5, 5)
adj = torch.randn(2, 5, 5)

# Optional weight and bias for forward pass
weight = torch.randn(4, 3)
bias = torch.randn(3)

ARGS = {
    "in_features": in_features,
    "out_features": out_features,
    "bias": True,
}
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 GraphConvolution — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GraphConvolution 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
InferenceNetwork Ran
ran on a synthesized input · constructed an object; no result was computed
hayeonlee/help/help.py
code served (permissive licence) · get_code("96fdfe319609dfb1")
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 an instance of its own class, InferenceNetwork: the run constructed the object and did not call it, so no result was computed. 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

torch.manual_seed(0)

# Analyze what the InferenceNetwork needs:
# - hw_embed_on: boolean flag for whether hw embedding is on
# - hw_embed_dim: dimension of hw_embed input (used in z_encoder Linear layer input)
# - layer_size: integer controlling output dimensions
# - determ: boolean for deterministic vs stochastic sampling

# The forward method expects inputs = (x, y, hw_embed)
# where hw_embed is a tensor of shape matching hw_embed_dim

hw_embed_dim = 8
layer_size = 3

# Create a small test batch
# hw_embed should be shape (hw_embed_dim,) based on how z_encoder processes it
hw_embed = torch.randn(hw_embed_dim)
x = torch.randn(2, 3, 4, 4)  # batch of 2, 3 channels, 4x4 spatial
y = torch.randn(2, 10)  # batch of 2, 10-dim labels

inputs = (x, y, hw_embed)

ARGS = {
    'hw_embed_on': True,
    'hw_embed_dim': hw_embed_dim,
    'layer_size': layer_size,
    'determ': False,
}
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 InferenceNetwork — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a InferenceNetwork 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
Net Ran
ran on a synthesized input · constructed an object; no result was computed
hayeonlee/help/help.py
code served (permissive licence) · get_code("91e2f33eece76754")
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 an instance of its own class, Net: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn

torch.manual_seed(0)

# Define arguments for Net.__init__
nfeat = 4
hw_embed_on = True
hw_embed_dim = 5
layer_size = 8

ARGS = {
    'nfeat': nfeat,
    'hw_embed_on': hw_embed_on,
    'hw_embed_dim': hw_embed_dim,
    'layer_size': layer_size,
}
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 Net — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Net 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
build_activation Ran
ran; our contract draft was wrong, not the code
HayeonLee/HELP/ofa/utils/pytorch_modules.py
code served (permissive licence) · get_code("da7205ae31eaf8ba")
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 ReLU. 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 torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

class Hswish(nn.Module):

    def __init__(self, inplace=True):
        super(Hswish, self).__init__()
        self.inplace = inplace

    def forward(self, x):
        return x * F.relu6(x + 3.0, inplace=self.inplace) / 6.0

    def __repr__(self):
        return 'Hswish()'

class Hsigmoid(nn.Module):

    def __init__(self, inplace=True):
        super(Hsigmoid, self).__init__()
        self.inplace = inplace

    def forward(self, x):
        return F.relu6(x + 3.0, inplace=self.inplace) / 6.0

    def __repr__(self):
        return 'Hsigmoid()'

def build_activation(act_func, inplace=True):
    if act_func == 'relu':
        return nn.ReLU(inplace=inplace)
    elif act_func == 'relu6':
        return nn.ReLU6(inplace=inplace)
    elif act_func == 'tanh':
        return nn.Tanh()
    elif act_func == 'sigmoid':
        return nn.Sigmoid()
    elif act_func == 'h_swish':
        return Hswish(inplace=inplace)
    elif act_func == 'h_sigmoid':
        return Hsigmoid(inplace=inplace)
    elif act_func is None or act_func == 'none':
        return None
    else:
        raise ValueError('do not support: %s' % act_func)

ARGS = {
    'act_func': 'relu',
    'inplace': True
}
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 ReLU — a ReLU output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ReLU 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
build_val_transform Ran
ran; our contract draft was wrong, not the code
HayeonLee/HELP/validate_imagenet.py
pointer only (licence: MIT); the stored copy get_code serves, from wangqinsi1/MathNAS, is pointer only (licence: NONE) · get_code("e1ccc3331db22b7d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wangqinsi1/MathNAS, and GitHub detected no licence in that repository 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.

flat Ran
ran on a synthesized input
HayeonLee/HELP/utils.py
code served (permissive licence) · get_code("1d5210b89b90aa66")
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 (8,) 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)

# Test case 1: torch tensor
tensor_v = torch.randn(2, 4)

# Test case 2: numpy array
numpy_v = np.random.randn(3, 5)

# The function takes one parameter 'v' which can be either a torch tensor or a numpy array
# It returns a flattened 1D array
ARGS = {
    "v": tensor_v
}
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 ndarray, ndim 1, dtype family float, shape (8,) — shape (8,) 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_bn_param Ran
ran; our contract draft was wrong, not the code
HayeonLee/HELP/ofa/utils/my_modules.py
code served (permissive licence) · get_code("f060e6240188a921")
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 dict. 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 torch.nn as nn

torch.manual_seed(0)

# Build a simple network with MyConv2d and BatchNorm2d
class SimpleNet(nn.Module):
    def __init__(self):
        super(SimpleNet, self).__init__()
        # We need to define MyConv2d first since it's used in the function
        self.conv = nn.Conv2d(3, 16, kernel_size=3, padding=1)
        self.bn = nn.BatchNorm2d(16)
    
    def forward(self, x):
        x = self.conv(x)
        x = self.bn(x)
        return x

# Create an instance of SimpleNet
net = SimpleNet()

# The function get_bn_param takes only one parameter: net
ARGS = {
    'net': net
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
get_minmax_latency_index Ran
ran on a synthesized input
HayeonLee/HELP/utils.py
code served (permissive licence) · get_code("1cf245a941c1244c")
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, ndim 1, dtype family int; no output shape is stated. The image it ran in was 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)

# Build arguments for get_minmax_latency_index
meta_train_devices = ['device_0', 'device_1', 'device_2']

# train_idx: dict mapping device names to tensors of indices
train_idx = {
    'device_0': torch.tensor([0, 1, 2]),
    'device_1': torch.tensor([0, 1, 2]),
    'device_2': torch.tensor([0, 1, 2])
}

# latency: dict mapping device names to tensors of latency values
# Each device has latency values for all training indices
latency = {
    'device_0': torch.tensor([10.5, 20.3, 15.1, 25.0]),
    'device_1': torch.tensor([12.1, 19.5, 16.2, 23.5]),
    'device_2': torch.tensor([11.0, 21.0, 14.5, 24.0])
}

ARGS = {
    'meta_train_devices': meta_train_devices,
    'train_idx': train_idx,
    'latency': latency
}
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, ndim 1, dtype family int — a tuple 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
kl_diagnormal_stdnormal Ran
ran, honoured the contract we drafted
hayeonlee/help/help.py
code served (permissive licence) · get_code("e268490969567b33")
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)

# The function expects `p` to be a torch.distributions.Normal object
# It accesses p.mean and p.device
# So we need to create a Normal distribution with a specific mean shape

# Create a Normal distribution with mean and std
pshape = (2, 4)  # batch size 2, dimension 4
mean = torch.randn(pshape)
std = torch.ones(pshape)
p = torch.distributions.Normal(mean, std)

ARGS = {
    "p": p
}
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
log_prob Ran
ran on a synthesized input
HayeonLee/HELP/utils.py
code served (permissive licence) · get_code("9b55ec99f8807af5")
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 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 torch.nn as nn
from torch.distributions import Normal

torch.manual_seed(0)

# Create a simple distribution object
# The function calls dist.log_prob(groundtruth), so we need a distribution
# with a log_prob method that takes a tensor and returns a tensor
dist = Normal(loc=torch.zeros(2, 4), scale=torch.ones(2, 4))

# Create groundtruth tensor matching the distribution's event shape
groundtruth = torch.randn(2, 4)

ARGS = {
    "dist": dist,
    "groundtruth": groundtruth,
}
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 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
make_divisible Ran
ran, honoured the contract we drafted
HayeonLee/HELP/ofa/utils/pytorch_modules.py
code served (permissive licence) · get_code("addfbda3077115a3")
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 int, ndim 0, dtype family int, 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)

ARGS = {
    "v": 33,
    "divisor": 8,
    "min_val": None,
}
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 int, ndim 0, dtype family int, 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
str2bool Ran
ran on a synthesized input
HayeonLee/HELP/parser.py
code served (permissive licence) · get_code("b0717d29ccfec107")
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 bool, 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

def str2bool(v):
    return v.lower() in ['t', 'true', True]

ARGS = {
    'v': 'true'
}
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 bool, 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
str2list Ran
ran on a synthesized input
HayeonLee/HELP/parser.py
code served (permissive licence) · get_code("8ce900951a7ddd54")
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 1, dtype family float; no output shape is stated. The image it ran in was 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)

def str2list(v):
    if isinstance(v, list):
        return v
    else:
        return [item for item in v.split(',')]

# The function takes a single parameter 'v' which can be either:
# 1. A list - in which case it returns it as-is
# 2. A string - in which case it splits it by commas

# Test case 1: v is a list
ARGS = {
    'v': ['item1', 'item2', 'item3']
}
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 1, 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
Data Not yet run
unverified (harvested, no recorded run)
hayeonlee/help/help.py
code served (permissive licence) · get_code("d3c44d4cc08c514e")
How it ran

no invocation recorded.

HELP Not yet run
unverified (harvested, no recorded run)
hayeonlee/help/help.py
code served (permissive licence) · get_code("dd8282187a60fb88")
How it ran

no invocation recorded.

MetaLearner Not yet run
unverified (harvested, no recorded run)
hayeonlee/help/help.py
code served (permissive licence) · get_code("ef8967f45af71fa1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 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.

FunctionAlso present inEarliest-datedOthers named
make_divisible 2 other papers
1 dated earlier, 1 later
1908.09791 (2019-08)
Once-for-All: Train One Network and Specialize it for Efficient Deployment
2206.13329 (2022-06)
Prior-Guided One-shot Neural Architecture Search
build_activation 1 other paper
1 dated earlier
1908.09791 (2019-08)
Once-for-All: Train One Network and Specialize it for Efficient Deployment
build_val_transform 1 other paper
1 later
2311.04943 (2023-11)
MathNAS: If Blocks Have a Role in Mathematical Architecture Design
get_bn_param 1 other paper
1 dated earlier
1908.09791 (2019-08)
Once-for-All: Train One Network and Specialize it for Efficient Deployment
str2bool 1 other paper
1 later
2107.00860 (2021-07)
Rapid Neural Architecture Search by Learning to Generate Graphs from Datasets

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

For deployment, neural architecture search should be hardware-aware, in order to satisfy the device-specific constraints (e.g., memory usage, latency and energy consumption) and enhance the model efficiency. Existing methods on hardware-aware NAS collect a large number of samples (e.g., accuracy and latency) from a target device, either builds a lookup table or a latency estimator. However, such approach is impractical in real-world scenarios as there exist numerous devices with different hardware specifications, and collecting samples from such a large number of devices will require prohibitive computational and monetary cost. To overcome such limitations, we propose Hardware-adaptive Efficient Latency Predictor (HELP), which formulates the device-specific latency estimation problem as a meta-learning problem, such that we can estimate the latency of a model's performance for a given task on an unseen device with a few samples. To this end, we introduce novel hardware embeddings to embed any devices considering them as black-box functions that output latencies, and meta-learn the hardware-adaptive latency predictor in a device-dependent manner, using the hardware embeddings. We validate the proposed HELP for its latency estimation performance on unseen platforms, on which it achieves high estimation performance with as few as 10 measurement samples, outperforming all relevant baselines. We also validate end-to-end NAS frameworks using HELP against ones without it, and show that it largely reduces the total time cost of the base NAS method, in latency-constrained settings. Code is available at https://github.com/HayeonLee/HELP.

For agents

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

get_harvested_code_for_paper("2106.08630")
get_code_for_paper("2106.08630")
have("2106.08630")

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

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

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

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

Connect an agent — have() is free.