Skip to content

Commit 7c2227a

Browse files
authored
chmod : make scripts executable (#2675)
1 parent f19dca0 commit 7c2227a

23 files changed

+16
-3
lines changed

ci/run.sh

100644100755
File mode changed.

convert-falcon-hf-to-gguf.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# HF falcon--> gguf conversion
23

34
import gguf

convert-gptneox-hf-to-gguf.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# HF gptneox--> gguf conversion
23

34
import gguf

convert-llama-7b-pth-to-gguf.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# 7b pth llama --> gguf conversion
23
# Only models with a single datafile are supported, like 7B
34
# HF files required in the model dir: config.json tokenizer_config.json tokenizer.json tokenizer.model

convert-llama-ggmlv3-to-gguf.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
import sys, struct, math, argparse
23
from pathlib import Path
34

convert-llama-hf-to-gguf.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# HF llama --> gguf conversion
23

34
import gguf

convert-lora-to-ggml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
import json
33
import os
44
import re

convert.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
import gguf
44
import argparse

examples/embd-input/embd_input.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
import ctypes
23
from ctypes import cdll, c_char_p, c_void_p, POINTER, c_float, c_int
34
import numpy as np

examples/embd-input/llava.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
import sys
23
import os
34
sys.path.insert(0, os.path.dirname(__file__))

examples/embd-input/minigpt4.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
import sys
23
import os
34
sys.path.insert(0, os.path.dirname(__file__))

examples/embd-input/panda_gpt.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
import sys
23
import os
34
sys.path.insert(0, os.path.dirname(__file__))

examples/jeopardy/graph.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
import matplotlib.pyplot as plt
23
import os
34
import csv

examples/jeopardy/jeopardy.sh

100644100755
File mode changed.

examples/json-schema-to-grammar.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
import argparse
23
import json
34
import re

examples/make-ggml.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
This script converts Hugging Face llama models to GGML and quantizes them.
34

examples/reason-act.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#!/bin/bash
32

43
cd `dirname $0`

examples/server-llama2-13B.sh

100644100755
File mode changed.

examples/server/api_like_OAI.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
import argparse
23
from flask import Flask, jsonify, request, Response
34
import urllib.parse

examples/server/chat-llama2.sh

100644100755
File mode changed.

examples/server/chat.sh

100644100755
File mode changed.

gguf.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
import shutil
23
import sys
34
import struct

scripts/get-wikitext-2.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)