mirror of https://github.com/leafspark/AutoGGUF
18 lines
526 B
Python
18 lines
526 B
Python
def convert_lora(self):
|
|
"""Converts a LORA file to either GGML or GGUF format.
|
|
|
|
This function initiates the conversion process based on user input,
|
|
utilizing a separate thread for the actual conversion and providing
|
|
progress updates in the UI.
|
|
|
|
It validates input paths, constructs the conversion command, creates
|
|
a log file, manages the conversion thread, and handles errors.
|
|
|
|
Args:
|
|
self: The object instance.
|
|
|
|
Raises:
|
|
ValueError: If required input paths are missing.
|
|
|
|
"""
|