Deeploy.Targets.PULPOpen.Platform.PULPPlatform

class Deeploy.Targets.PULPOpen.Platform.PULPPlatform(engines=[PULPClusterEngine(name='PULPCluster', mappings=['Conv', 'RequantizedConv', 'RequantizedGemm', 'Gemm', 'Gelu', 'LayerNormalization', 'MaxPool', 'RequantizediGELU', 'RQIntegerDiv', 'MatMul', 'IntegerMean', 'iSoftmax', 'Softmax', 'ReduceMean', 'ReduceSum', 'RequantShift', 'Add', 'Flatten', 'Gather', 'Mul', 'Pad', 'Relu', 'Reshape', 'Squeeze', 'Transpose', 'Unsqueeze', 'Slice', 'RequantizedAdd', 'Concat', 'iRMSNorm', 'iHardswish', 'RequantizediHardswish', 'Quant', 'Dequant', 'SoftmaxGrad', 'SoftmaxCrossEntropyLoss', 'SoftmaxCrossEntropyLossGrad', 'SGD'])], variableBuffer=<class 'Deeploy.Targets.PULPOpen.Platform.PULPVariableBuffer'>, constantBuffer=<class 'Deeploy.Targets.PULPOpen.Platform.PULPConstantBuffer'>, structBuffer=<class 'Deeploy.Targets.PULPOpen.Platform.PULPStructBuffer'>, transientBuffer=<class 'Deeploy.Targets.PULPOpen.Platform.PULPTransientBuffer'>)

Bases: DeploymentPlatform

Methods

__init__(engines=[PULPClusterEngine(name='PULPCluster', mappings=['Conv', 'RequantizedConv', 'RequantizedGemm', 'Gemm', 'Gelu', 'LayerNormalization', 'MaxPool', 'RequantizediGELU', 'RQIntegerDiv', 'MatMul', 'IntegerMean', 'iSoftmax', 'Softmax', 'ReduceMean', 'ReduceSum', 'RequantShift', 'Add', 'Flatten', 'Gather', 'Mul', 'Pad', 'Relu', 'Reshape', 'Squeeze', 'Transpose', 'Unsqueeze', 'Slice', 'RequantizedAdd', 'Concat', 'iRMSNorm', 'iHardswish', 'RequantizediHardswish', 'Quant', 'Dequant', 'SoftmaxGrad', 'SoftmaxCrossEntropyLoss', 'SoftmaxCrossEntropyLossGrad', 'SGD'])], variableBuffer=<class 'Deeploy.Targets.PULPOpen.Platform.PULPVariableBuffer'>, constantBuffer=<class 'Deeploy.Targets.PULPOpen.Platform.PULPConstantBuffer'>, structBuffer=<class 'Deeploy.Targets.PULPOpen.Platform.PULPStructBuffer'>, transientBuffer=<class 'Deeploy.Targets.PULPOpen.Platform.PULPTransientBuffer'>) None

Initializes a new deployment platform

Parameters:
  • engines (List[DeploymentEngine]) – List of all available non-host engines

  • variableBuffer (Type[VariableBuffer]) – VariableBuffer subclass with correctly set allocation and deallocation templates

  • constantBuffer (Type[ConstantBuffer]) – ConstantBuffer subclass with correctly set allocation and deallocation templates

  • structBuffer (Type[StructBuffer]) – StructBuffer subclass with correctly set allocation and deallocation templates

  • transientBuffer (Type[TransientBuffer]) – TransientBuffer subclass with correctly set allocation and deallocation templates

__init__([engines, variableBuffer, ...])

Initializes a new deployment platform

Attributes

engines

A list of all available non-host engines

engines

A list of all available non-host engines

Type:

List[DeploymentEngine]