'Upload BYOM files' method from python SDK
tomhuds opened this issue · 1 comments
tomhuds commented
e.g.
def upload_byom(model_name: str, model_file: str, requirements_file: str)
Will require an update to our byom upload endpoint
ea-rus commented
byom upload creates the new ml engine
Maybe is better to:
byom_engine = con.ml_engines.create_byom(model_code: str, requirements_code: str)
or
byom_engine = con.ml_engines.create_byom(path_to_model_code: str, path_to_model_requirements: str)
Also we can try to implement option to extract code and requirements from module
byom_engine = con.ml_engines.create_byom(<imported python module or class>)