AQIT 0.1.0
Loading...
Searching...
No Matches
aquin.engine.device_info Namespace Reference

Functions

str|None _fetch_aws_placement ()
str _sanitize_label (str text, *, int max_len=64)
dict[str, Any] detect_gpu_info ()
dict[str, Any] detect_location ()
str detect_device_label ()
dict[str, Any] build_engine_profile ()
str format_engine_profile_summary (dict[str, Any] profile)

Function Documentation

◆ _fetch_aws_placement()

str | None _fetch_aws_placement ( )
protected

Definition at line 19 of file device_info.py.

Referenced by detect_location().

◆ _sanitize_label()

str _sanitize_label ( str text,
* ,
int max_len = 64 )
protected

Definition at line 32 of file device_info.py.

Referenced by detect_device_label().

◆ build_engine_profile()

dict[str, Any] build_engine_profile ( )

Definition at line 108 of file device_info.py.

References detect_device_label(), detect_gpu_info(), and detect_location().

◆ detect_device_label()

str detect_device_label ( )

Definition at line 94 of file device_info.py.

References _sanitize_label(), and detect_gpu_info().

Referenced by build_engine_profile().

◆ detect_gpu_info()

dict[str, Any] detect_gpu_info ( )

Definition at line 37 of file device_info.py.

Referenced by build_engine_profile(), and detect_device_label().

◆ detect_location()

dict[str, Any] detect_location ( )

Definition at line 64 of file device_info.py.

References _fetch_aws_placement().

Referenced by build_engine_profile().

◆ format_engine_profile_summary()

str format_engine_profile_summary ( dict[str, Any] profile)

Definition at line 120 of file device_info.py.