kfdreplay

package
v2.0.0-beta.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package kfdreplay pins the libkfdreplay release warmctl runs AMD engines with (https://github.com/TensorRails/libkfdreplay): the library an engine preloads so that its own processes can checkpoint and restore their GPU state (kfdr_checkpoint, kfdr_restore), and DMTCP can then snapshot them as CPU processes. The runtime image installs the release's archive, checked against SHA256SUMS, with scripts/fetch-kfdreplay.sh.

Index

Constants

View Source
const Env = "WARMCTL_KFDREPLAY"

Env overrides where the library is, for research builds: a snapshot records the path and digest it ran with, and a restore needs the same.

View Source
const Root = "/opt/warmctl/kfdreplay"

Root holds one directory per release. Existing snapshots use the directory recorded by the donor, even after the default pin changes.

Variables

This section is empty.

Functions

func Describe

func Describe(path string) (manifest.MappedFile, error)

Describe is the path, size, modification time and digest of a file.

func Locate

func Locate() (manifest.MappedFile, error)

Locate checks the library at Path and describes it for the manifest. The pinned release must match its digest; a library named by $WARMCTL_KFDREPLAY is taken as it is (research builds), with its own digest recorded.

func Path

func Path() string

Path is where the pinned library is: $WARMCTL_KFDREPLAY, else Root/<tag>/libkfdreplay.so.

func SHA256

func SHA256(asset string) string

SHA256 is the pinned digest of a release asset.

func Same

func Same(want manifest.MappedFile) error

Same checks that the file a snapshot recorded is at its path unchanged: DMTCP maps an unmodified file area again from the file, after comparing its size and modification time, so a restore needs the very same file.

func Tag

func Tag() string

Tag is the pinned GitHub release tag.

func Version

func Version() string

Version is what kfdr_version() answers for the pinned release.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL