File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1010 "Please enter the model ID where this model card will be displayed: "
1111)
1212is_vision = input ("Is this a vision model (yes/no): " ).strip ().lower () == "yes"
13- if is_vision :
14- arch = input ("What is the vision model architecture?: " ).strip ().lower ()
1513
1614output = f"""---
1715tags:
5553 f" NOTE: Next file. Have processed { n } files. Press CTRL-C now if there are no more."
5654 )
5755 file = input ("Enter UQFF filename (with extension): " ).strip ()
56+ if ";" in file :
57+ file = f"\" { file } \" "
5858
5959 quants = input (
6060 "Enter quantization NAMES used to make that file (single quantization name, OR if multiple, comma delimited): "
7474 else :
7575 cmd = "plain"
7676
77- if is_vision :
78- arch = f"-a { arch } "
79- else :
80- arch = ""
81-
82- output += f"`./mistralrs-server -i { cmd } -m { display_model_id } { arch } --from-uqff { file } `|\n "
77+ output += f"`./mistralrs-server -i { cmd } -m { display_model_id } -f { file } `|\n "
8378 n += 1
8479 print ()
8580except KeyboardInterrupt :
You can’t perform that action at this time.
0 commit comments