classDiagram
class ExecutionConfig
click ExecutionConfig href "./ExecutionConfig.html"
ExecutionConfig : accelerator
ExecutionConfig --> "0..1" String : accelerator
click String href "../http://www.w3.org/2001/XMLSchema#string.html"
ExecutionConfig : batch_size
ExecutionConfig --> "0..1" Integer : batch_size
click Integer href "../http://www.w3.org/2001/XMLSchema#integer.html"
ExecutionConfig : n_threads
ExecutionConfig --> "0..1" Integer : n_threads
click Integer href "../http://www.w3.org/2001/XMLSchema#integer.html"
ExecutionConfig : n_workers
ExecutionConfig --> "0..1" Integer : n_workers
click Integer href "../http://www.w3.org/2001/XMLSchema#integer.html"
ExecutionConfig : precision
ExecutionConfig --> "0..1" String : precision
click String href "../http://www.w3.org/2001/XMLSchema#string.html"
ExecutionConfig : random_seed
ExecutionConfig --> "0..1" Integer : random_seed
click Integer href "../http://www.w3.org/2001/XMLSchema#integer.html"
Class: ExecutionConfig
Configuration for computational execution (parallelization, precision, hardware).
URI: tvbo:class/ExecutionConfig
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| n_workers | 0..1 xsd:integer |
Number of parallel workers (maps to pmap devices in JAX, processes in multipr… | direct |
| n_threads | 0..1 xsd:integer |
Number of CPU threads per worker (-1 = auto-detect) | direct |
| precision | 0..1 xsd:string |
Floating point precision: ‘float32’ or ‘float64’ | direct |
| accelerator | 0..1 xsd:string |
Hardware accelerator: ‘cpu’, ‘gpu’, ‘tpu’ | direct |
| batch_size | 0..1 xsd:integer |
Batch size for vectorized operations (None = auto) | direct |
| random_seed | 0..1 xsd:integer |
Base random seed for reproducibility | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Optimization | execution | range | ExecutionConfig |
| Exploration | execution | range | ExecutionConfig |
| Algorithm | execution | range | ExecutionConfig |
| SimulationExperiment | execution | range | ExecutionConfig |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/tvbo
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | tvbo:ExecutionConfig |
| native | tvbo:ExecutionConfig |
LinkML Source
Direct
name: ExecutionConfig
description: Configuration for computational execution (parallelization, precision,
hardware).
from_schema: https://w3id.org/tvbo
attributes:
n_workers:
name: n_workers
description: Number of parallel workers (maps to pmap devices in JAX, processes
in multiprocessing)
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: integer(1)
domain_of:
- ExecutionConfig
range: integer
n_threads:
name: n_threads
description: Number of CPU threads per worker (-1 = auto-detect)
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: integer(-1)
domain_of:
- ExecutionConfig
range: integer
precision:
name: precision
description: 'Floating point precision: ''float32'' or ''float64'''
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: string(float64)
domain_of:
- ExecutionConfig
range: string
accelerator:
name: accelerator
description: 'Hardware accelerator: ''cpu'', ''gpu'', ''tpu'''
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: string(cpu)
domain_of:
- ExecutionConfig
range: string
batch_size:
name: batch_size
description: Batch size for vectorized operations (None = auto)
from_schema: https://w3id.org/tvbo
rank: 1000
domain_of:
- ExecutionConfig
range: integer
random_seed:
name: random_seed
description: Base random seed for reproducibility
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: integer(42)
domain_of:
- ExecutionConfig
range: integerInduced
name: ExecutionConfig
description: Configuration for computational execution (parallelization, precision,
hardware).
from_schema: https://w3id.org/tvbo
attributes:
n_workers:
name: n_workers
description: Number of parallel workers (maps to pmap devices in JAX, processes
in multiprocessing)
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: integer(1)
alias: n_workers
owner: ExecutionConfig
domain_of:
- ExecutionConfig
range: integer
n_threads:
name: n_threads
description: Number of CPU threads per worker (-1 = auto-detect)
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: integer(-1)
alias: n_threads
owner: ExecutionConfig
domain_of:
- ExecutionConfig
range: integer
precision:
name: precision
description: 'Floating point precision: ''float32'' or ''float64'''
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: string(float64)
alias: precision
owner: ExecutionConfig
domain_of:
- ExecutionConfig
range: string
accelerator:
name: accelerator
description: 'Hardware accelerator: ''cpu'', ''gpu'', ''tpu'''
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: string(cpu)
alias: accelerator
owner: ExecutionConfig
domain_of:
- ExecutionConfig
range: string
batch_size:
name: batch_size
description: Batch size for vectorized operations (None = auto)
from_schema: https://w3id.org/tvbo
rank: 1000
alias: batch_size
owner: ExecutionConfig
domain_of:
- ExecutionConfig
range: integer
random_seed:
name: random_seed
description: Base random seed for reproducibility
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: integer(42)
alias: random_seed
owner: ExecutionConfig
domain_of:
- ExecutionConfig
range: integer