Skip to main content

upload

Method
This is a method of the UploadVisionModel class in the upload_vision module.
Upload the model to specified targets.

Signature

def upload(target: Any) -> Any

Parameters

target
Any
default:"'all'"
One of ‘all’, ‘huggingface’, ‘huggingface_gguf’, or ‘ollama’

Returns

Returns
Any
The result of the operation.

Uses

  • prepare_model
  • save_model_merged
  • push_model_gguf
  • create_and_push_ollama_model

Used By

Source

View on GitHub

praisonai/upload_vision.py at line 107