https://github.com/yeahdongcn/modeld
https://github.com/yeahdongcn/modeld
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/yeahdongcn/modeld
- Owner: yeahdongcn
- License: mit
- Created: 2024-02-05T08:59:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T09:58:37.000Z (over 2 years ago)
- Last Synced: 2025-01-30T15:16:39.276Z (over 1 year ago)
- Language: Go
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# modeld
`ollama cli` migrates to `docker cli` for model management.
```bash
~ ollama --help
Large language model runner
Usage:
ollama [flags]
ollama [command]
Available Commands:
serve Start ollama - *out of scope
create Create a model from a Modelfile - *out of scope
show Show information for a model - docker image inspect - not implemented
run Run a model - docker run - not implemented
pull Pull a model from a registry - docker pull - ok/progress report wip
push Push a model to a registry - docker push - not implemented
list List models - docker images - ok
cp Copy a model - docker image tag - not implemented
rm Remove a model - docker rmi - ok/untested
```
## How to use
modeld:
```bash
cd cmd/modeld
go run main.go
```
docker cli:
```bash
cd cmd/modeld
docker -H unix://$PWD/model.sock images
```
## References
- https://docs.docker.com/engine/api/v1.44/
- https://github.com/buildkite/sockguard
- https://github.com/ollama/ollama