Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
11614b6d
"vscode:/vscode.git/clone" did not exist on "cc7bb5084d3639cbdc12f462b42b440e89cae697"
Commit
11614b6d
authored
Jun 27, 2023
by
Bruce MacDonald
Browse files
add development doc
parent
38284f9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
0 deletions
+55
-0
README.md
README.md
+4
-0
docs/development.md
docs/development.md
+51
-0
No files found.
README.md
View file @
11614b6d
...
@@ -80,3 +80,7 @@ In the future, there will be an easy CLI for running models
...
@@ -80,3 +80,7 @@ In the future, there will be an easy CLI for running models
ollama run huggingface.co/thebloke/llama-7b-ggml
ollama run huggingface.co/thebloke/llama-7b-ggml
> Downloading [================> ] 66.67% (2/3) 30.2MB/s
> Downloading [================> ] 66.67% (2/3) 30.2MB/s
```
```
## Documentation
-
[
Development
](
docs/development.md
)
docs/development.md
0 → 100644
View file @
11614b6d
# Development
## Running
Install dependencies:
```
pip install -r requirements.txt
```
Put your model in
`models/`
and run:
```
python3 ollama.py serve
```
To run the app:
```
cd desktop
npm install
npm start
```
## Building
If using Apple silicon, you need a Python version that supports arm64:
```
bash
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
bash Miniforge3-MacOSX-arm64.sh
```
Get the dependencies:
```
bash
pip
install
-r
requirements.txt
```
Then build a binary for your current platform:
```
bash
python3 build.py
```
### Building the app
```
cd desktop
npm run package
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment