(self)
| 176 | return available |
| 177 | |
| 178 | def available_loras(self): |
| 179 | available = {} |
| 180 | for p in os.listdir(TRT_MODEL_DIR): |
| 181 | if not p.endswith(".lora"): |
| 182 | continue |
| 183 | available[os.path.splitext(p)[0]] = os.path.join(TRT_MODEL_DIR, p) |
| 184 | |
| 185 | return available |
| 186 | |
| 187 | def get_timing_cache(self): |
| 188 | current_dir = os.path.dirname(os.path.abspath(__file__)) |
no outgoing calls
no test coverage detected