This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Transplant extra tensors (e.g. MTP layers) from one GGUF file into another, | |
| producing a mixed-quantization GGUF. | |
| Note: Tested with ik_llama.cpp GGUF Python module. | |
| Usage: | |
| python convert.py <target.gguf> <source.gguf> <output.gguf> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for X in system-{manufacturer,product-name,version} \ | |
| baseboard-{manufacturer,product-name,version} \ | |
| chassis-{manufacturer,version} bios-{vendor,version,release-date}; do \ | |
| echo -n "|| `sudo /usr/sbin/dmidecode -s $X` " \ | |
| | perl -pe 's/\n/\\n/' ; done; \ | |
| sudo /usr/sbin/dmidecode | perl -0777 -ne \ | |
| 'm/\n(.*).\n.*\n(.*Embedded Cont.*)\n/i; print "\n|| <nowiki>$1$2</nowiki>\n"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~180 game servers geocoded using IP: | |
| https://goo.gl/CVrjqv |