Skip to content
/ osync Public

Transfer a local ollama model to a remote ollama server

License

Notifications You must be signed in to change notification settings

mann1x/osync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub all releases GitHub release (latest by date) GitHub contributors GitHub Repo stars


Project license

Pull Requests welcome code with love by mann1x


About

[Copy a local ollama model to a remote server]

Skips already transferred images

Uploads at high speed with a progress bar

No more multiple downloads of the same model on different ollama hosts

Ideal for servers isolated from internet

Built With

[C# .NET 8]

Getting Started

Prerequisites

[Windows/Linux/MacOS]

[Arm64/x64/Mac]

Installation

[Download latest binary release]

[Build from sources]

Clone the repo

Compile with Visual Studio 2022

Usage

Simple: osync cp modelname http://192.168.100.100:11434

available action commands:

  • copy (available as alias cp)

    • source (local ollama)

    • destination (remote ollama)

Command line arguments:

  • -h for help

Execute without arguments to get local models TabCompletion!

Known Issues

None

Changelog

v1.0.6

  • Changed syntax to support multiple actions: now copying a model needs copy (alias cp)
  • Fixed upload progress bar updates
  • Handles automatically latest tag if none specified

v1.0.5

  • Added local models TabCompletion with interactive prompt if called without arguments
  • Fixed 100 seconds timeout
  • Added arguments exception handling

v1.0.4

  • Check remote ollama version and display its version
  • Fixed streaming output from create model

v1.0.3

  • Added -bt switch to throttle the bandwidth in B, KB, MB, GB per second, eg. for 75MB/s use -bt 75MB

v1.0.2

  • Fixed build with single portable file for Linux/MacOS

v1.0.1

  • Fixed bug with stdErr redirect
  • Remove Linux and MacOS colored output

v1.0.0

  • Initial release

Roadmap

See the open issues for a list of proposed features (and known issues).

Support

License

This project is licensed under the MIT license.

See LICENSE for more information.

About

Transfer a local ollama model to a remote ollama server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages