modeld

package module
v0.0.0-...-c6e7587 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 15 Imported by: 0

README

modeld

ollama cli migrates to docker cli for model management.

~ 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:

cd cmd/modeld
go run main.go

docker cli:

cd cmd/modeld
docker -H unix://$PWD/model.sock images

References

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RulesDirector

type RulesDirector struct {
	Client *http.Client
}

func (*RulesDirector) Direct

func (r *RulesDirector) Direct(l socketproxy.Logger, req *http.Request, upstream http.Handler) http.Handler

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL