Skip to main content
POST
Attach one bounded content-free GPU profile capture to the active revision

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required
Minimum string length: 1

Body

application/json

One content-free GPU profile capture: sampled GPU time attributed to root-first stacks of interned frames.

capture
object
required
frames
object[]
required
Required array length: 1 - 20000 elements
schema_version
enum<string>
required

v1 carries call stacks only; v2 adds the trace analysis and an optional timeline excerpt.

Available options:
infercrane.gpu-profile/v1,
infercrane.gpu-profile/v2
stacks
object[]
required
Required array length: 1 - 10000 elements
timeline
object
required
unavailable_layers
enum<string>[]
required

Layers this capture could not record, for example sass and stall without PC sampling.

Maximum array length: 7
Available options:
python,
torch,
native,
cuda_api,
kernel,
sass,
stall
analysis
object

Required in v2, absent in v1.

timeline_excerpt
object

v2 only: the busiest part of the capture for a timeline viewer.

Response

Created

deployment
string
required
ended_at
string<date-time>
required
frames
integer
required
Required range: x >= 1
id
string
required
Pattern: ^gpc-[0-9a-f]{32}$
recorded_at
string<date-time>
required
revision
integer
required
Required range: x >= 1
stacks
integer
required
Required range: x >= 1
started_at
string<date-time>
required