PineForge HPO 0.1.0
Native hyperparameter optimization for PineForge strategies
Loading...
Searching...
No Matches
pineforge_hpo.artifact.ArtifactBuilder Class Reference

Public Member Functions

None __init__ (self, *str|os.PathLike[str] engine_root, str|os.PathLike[str]|None cache_dir=None, str|os.PathLike[str]|None compiler=None, str|os.PathLike[str]|None eigen_include=None, Callable[[Path, int], Mapping[str, Any]]|None plugin_validator=None, float lock_timeout_seconds=120.0, float compile_timeout_seconds=300.0)
 
StrategyArtifact build (self, str pine_source, *str filename="<input>")
 

Public Attributes

 engine_root
 
 cache_dir
 
 compiler
 
 eigen_include
 
 plugin_validator
 
 lock_timeout_seconds
 
 compile_timeout_seconds
 

Detailed Description

Transpile and compile a Pine strategy once per compatible request identity.

Definition at line 264 of file artifact.py.

Constructor & Destructor Documentation

◆ __init__()

None pineforge_hpo.artifact.ArtifactBuilder.__init__ (   self,
*str | os.PathLike[str]  engine_root,
str | os.PathLike[str] | None   cache_dir = None,
str | os.PathLike[str] | None   compiler = None,
str | os.PathLike[str] | None   eigen_include = None,
Callable[[Path, int], Mapping[str, Any]] | None   plugin_validator = None,
float   lock_timeout_seconds = 120.0,
float   compile_timeout_seconds = 300.0 
)

Definition at line 267 of file artifact.py.

Member Function Documentation

◆ build()

StrategyArtifact pineforge_hpo.artifact.ArtifactBuilder.build (   self,
str  pine_source,
*str   filename = "<input>" 
)

Member Data Documentation

◆ cache_dir

pineforge_hpo.artifact.ArtifactBuilder.cache_dir

Definition at line 279 of file artifact.py.

Referenced by pineforge_hpo.artifact.ArtifactBuilder.build().

◆ compile_timeout_seconds

pineforge_hpo.artifact.ArtifactBuilder.compile_timeout_seconds

Definition at line 292 of file artifact.py.

Referenced by pineforge_hpo.artifact.ArtifactBuilder.build().

◆ compiler

pineforge_hpo.artifact.ArtifactBuilder.compiler

Definition at line 284 of file artifact.py.

◆ eigen_include

pineforge_hpo.artifact.ArtifactBuilder.eigen_include

Definition at line 285 of file artifact.py.

◆ engine_root

pineforge_hpo.artifact.ArtifactBuilder.engine_root

Definition at line 278 of file artifact.py.

◆ lock_timeout_seconds

pineforge_hpo.artifact.ArtifactBuilder.lock_timeout_seconds

Definition at line 291 of file artifact.py.

Referenced by pineforge_hpo.artifact.ArtifactBuilder.build().

◆ plugin_validator

pineforge_hpo.artifact.ArtifactBuilder.plugin_validator

Definition at line 290 of file artifact.py.


The documentation for this class was generated from the following file: