settings ¶
Functions:
-
get_artifact_path– -
get_artifacts_folder–If
global_=True: -
get_cache– -
get_global_cache– -
get_local_cache– -
get_model_folder– -
get_model_path– -
get_onnx_folder–If
global_=True: -
get_toml_config– -
is_fallback_enabled– -
is_global_true–
Attributes:
-
APP_AUTHOR– -
APP_NAME– -
ENV_KEYS– -
FALSY– -
TOML_CONFIG– -
TOML_KEYS(tuple[list[str], ...]) – -
TRUTHY– -
logger–
get_artifact_path ¶
Source code in vsscale/mlrt/settings.py
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | |
get_artifacts_folder cached ¶
If global_=True: - Linux: ~/.cache/vsscale/artifact - macOS: ~/Library/Caches/vsscale/artifact - Windows: ...\AppData\Local\vsjet\vsscale\Cache\artifact
Else returns a local .vsjet package storage.
Source code in vsscale/mlrt/settings.py
74 75 76 77 78 79 80 81 82 83 84 | |
get_cache cached ¶
Source code in vsscale/mlrt/settings.py
50 51 52 53 54 55 56 57 58 | |
get_global_cache cached ¶
get_global_cache() -> Path
Source code in vsscale/mlrt/settings.py
38 39 40 41 42 | |
get_local_cache cached ¶
get_local_cache() -> Path
Source code in vsscale/mlrt/settings.py
45 46 47 | |
get_model_folder ¶
Source code in vsscale/mlrt/settings.py
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
get_model_path ¶
Source code in vsscale/mlrt/settings.py
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | |
get_onnx_folder cached ¶
If global_=True: - Linux: ~/.cache/vsscale/onnx - macOS: ~/Library/Caches/vsscale/onnx - Windows: ...\AppData\Local\vsjet\vsscale\Cache\onnx
Else returns a local .vsjet package storage.
Source code in vsscale/mlrt/settings.py
61 62 63 64 65 66 67 68 69 70 71 | |
get_toml_config ¶
Source code in vsscale/mlrt/settings.py
24 25 26 27 28 29 30 31 32 33 34 35 | |
is_fallback_enabled ¶
Source code in vsscale/mlrt/settings.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |