Replies: 4 comments
-
Typically, path names are lowercase in unix-like systems because they're case sensitive. This is just a nitpick though. |
Beta Was this translation helpful? Give feedback.
-
Found that there is already people using
env_gguf_path = os.getenv("GGUF_PATH") So at least that's one datapoint that's it's already a notation that in use that can be formalised. |
Beta Was this translation helpful? Give feedback.
-
Don't think there is need to introduce default location for a file format. |
Beta Was this translation helpful? Give feedback.
-
Ah i see. That's fair enough, I guess this is good enough as an ad hoc thing then. Well at least this is here if anyone searches for it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Does it make sense to have a convention for model locations for gguf files?
(Idea originally from Mozilla-Ocho/llamafile#178 but adapted for GGUF context)
Installing A GGUF And Making It Accessible To Other Local Applications
For optimal discovery and integration with local application scripts/programs, we recommend the following search paths:
System-wide Paths:
/usr/share/gguf
(Linux/MacOS/BSD): Ideal for developers creating packages, commonly accessed via package managers likeapt get install
in Debian-based Linux OSes./opt/gguf
(Linux/MacOS/BSD): Positioned in the/opt
directory, suitable for installers downloaded directly from the web.C:\gguf
(Windows): A direct path for Windows systems.User-specific Path:
~/.gguf
(Linux/MacOS/BSD): Located in the user's home directory, facilitating user-specific configurations in line with Unix-like conventions.For applications or scripts referencing the GGUF path, setting the environment variable
$GGUF_PATH
to a singular path can enhance configuration simplicity and system consistency.Python Example
For your convenience, here is a python example using the above path conventions
edit: lowercase gguf path name as per @teleprint-me 's recommendation
Beta Was this translation helpful? Give feedback.
All reactions