ATLAS Offline Software
Loading...
Searching...
No Matches
TracccTritonClientConfigFlags Namespace Reference

Functions

 createTracccTritonConfigFlags ()
 tracccTritonFlagsPreInclude (flags)

Function Documentation

◆ createTracccTritonConfigFlags()

TracccTritonClientConfigFlags.createTracccTritonConfigFlags ( )
Flags configuring the Traccc Triton client: the model name and the
Triton server connection (url/port).

Definition at line 7 of file TracccTritonClientConfigFlags.py.

7def createTracccTritonConfigFlags():
8 """Flags configuring the Traccc Triton client: the model name and the
9 Triton server connection (url/port)."""
10 icf = AthConfigFlags()
11 icf.addFlag("Tracking.Traccc.Triton.url", "localhost")
12 icf.addFlag("Tracking.Traccc.Triton.model", "traccc-gpu")
13 icf.addFlag("Tracking.Traccc.Triton.port", 8001)
14 return icf
15
16

◆ tracccTritonFlagsPreInclude()

TracccTritonClientConfigFlags.tracccTritonFlagsPreInclude ( flags)
preInclude that registers the Traccc Triton flags on the job's flags.

Kept in this package (rather than centrally in TrkConfigFlags) so the
package is self-contained. preIncludes run before preExec, so
flags.Tracking.Traccc.Triton.* can be overridden on the command line.

Definition at line 17 of file TracccTritonClientConfigFlags.py.

17def tracccTritonFlagsPreInclude(flags):
18 """preInclude that registers the Traccc Triton flags on the job's flags.
19
20 Kept in this package (rather than centrally in TrkConfigFlags) so the
21 package is self-contained. preIncludes run before preExec, so
22 flags.Tracking.Traccc.Triton.* can be overridden on the command line."""
23 flags.join(createTracccTritonConfigFlags())