SdkCompiler
Python API for compiling SDK programs on a Cerebras Wafer-Scale Cluster.Manages the generation of compile artifacts on a Cerebras Wafer-Scale
Cluster using the CSL compiler.
SdkCompiler must be used via a context manager.SdkLauncher
The SdkLauncher API can be used to upload artifacts, run custom commands in
the appliance, and use custom scripts written as if the system was not in
appliance mode and the user were running directly from a worker node.The user must use the
%CMADDR% template string to pass the system address
to a run script.SdkRuntime
Note
The
The
SdkRuntime appliance bindings are deprecated. Use SdkLauncher to
wrap an SDK host Python script instead.Manages the execution of SDK programs on the Cerebras Wafer-Scale Cluster
appliance. The constructor analyzes the WSE ELFs in the
bindir
and prepares the WSE or simfabric for a run.SdkRuntime must be used via a context manager.Task
class cerebras.sdk.client.Task
Handle to a task launched by
SdkRuntime.MemcpyDataType
Specifies the data size for transfers using
SdkRuntime.memcpy_d2h() and
SdkRuntime.memcpy_h2d() copy mode.Values:
- MEMCPY_16BIT
- MEMCPY_32BIT
MemcpyOrder
Specifies mapping of data for transfers using
SdkRuntime.memcpy_d2h() and
SdkRuntime.memcpy_h2d().Values:
- ROW_MAJOR
- COL_MAJOR
sdk_utils
Utility functions for common operations withSdkRuntime.
Import from cerebras.sdk.client.sdk_utils.
See sdk_utils module.
debug_util
Utilities for parsing debug output and core files of a simulator run. Import fromcerebras.sdk.client.debug_util.
See debug_util module.