MCPcopy Create free account
hub / github.com/evilsocket/cake / DefaultStrategy

Class DefaultStrategy

cake-core/src/cake/sharding/default.rs:8–8  ·  view source on GitHub ↗

Default stateless sharding strategy that assigns layers proportionally to each worker's TFLOPS, capped by per-GPU VRAM.

Source from the content-addressed store, hash-verified

6/// Default stateless sharding strategy that assigns layers proportionally
7/// to each worker's TFLOPS, capped by per-GPU VRAM.
8pub struct DefaultStrategy;
9
10impl super::Strategy for DefaultStrategy {
11 fn assign_layers(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected