Sandra Youssef
Sugato Ray
06/30/2022, 8:12 PMAkarsh Upadhyay
07/04/2022, 11:25 AMAkarsh Upadhyay
07/04/2022, 2:30 PMunionml serve app:app --reload --model-path /tmp/model_object.pt
,
I get this error on the browser
{"detail": "Method Not Allowed"}
and in the terminal, it is showing:
INFO: 127.0.0.1:64825 - "GET /predict HTTP/1.1" 405 Method Not Allowed
My Folder structure looks like this (i.e in same directory):
-> app.py
-> client.py
-> main.py (same code as app.py)
Thanks,Sandra Youssef
Sandra Youssef
Sandra Youssef
Ketan (kumare3)
Sugato Ray
08/09/2022, 12:24 PMNiels Bantilan
08/10/2022, 5:03 PMunionml==0.1.3
🎉 is out! This release includes bugfixes, docfixes, and quality of life improvements.
Shoutouts to @Sugato Ray, @Zev Isert @jonwiggins, @mmorzywolkek, and @Samhita Alla for contributions on this one 👏
Read more here:
https://github.com/unionai-oss/unionml/discussions/156Sandra Youssef
Mike Leslie
08/17/2022, 5:41 PMNiels Bantilan
08/17/2022, 5:46 PM0.1.4
release:
@Omar Abdullahi Ahmed: https://github.com/unionai-oss/unionml/issues/15?
@Shivay Lamba: https://github.com/unionai-oss/unionml/issues/16
@Eduardo Apolinario (eapolinario) :
• https://github.com/unionai-oss/unionml/issues/72
• https://github.com/unionai-oss/unionml/issues/58
How’s it going?Martin Hwasser
08/22/2022, 1:21 PMNiels Bantilan
08/23/2022, 9:08 PMSandra Youssef
Sandra Youssef
Ryan Delgado
09/04/2022, 11:18 PMflytectl demo start
,
2. I ensured my ~/.flyte/config.yaml
is pointed at my local environment.
3. I started a unionml project by running unionml init mnist
and navigating into the directory.
4. I ran unionml deploy app:model
to deploy a Model object named "model" in the app.py file within the current working directory.
5. I ran unionml train app:model
to train the model.
When I deploy the model, I see these logs:
[unionml] deploying app:model
2022-09-04 19:09:54,211 unionml INFO Building docker container in flyte demo cluster.
2022-09-04 19:09:54,862 unionml INFO unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /root/Dockerfile: no such file or directory
2022-09-04 19:09:54,895 unionml INFO Deploying workflow digits_classifier.train
2022-09-04 19:09:55,230 unionml INFO Deploying workflow digits_classifier.predict
2022-09-04 19:09:55,294 unionml INFO Deploying workflow digits_classifier.predict_from_features
When I train the model, I see that a workflow is triggered in the sandbox Flyte Console, but the workflow fails on the dataset_task
node. The logs for that task are:
[1/1] currentAttempt done. Last Error: USER::containers with unready status: [ffa8038a9524b4920a61-n0-0]|Back-off pulling image "unionml:digits-classifier-a31c8bb4d7f235f31b25a3449e3dcc0c1f82e9be"
It looks like I'm getting an error with finding pulling an image, but I'm not sure what I'm doing wrong 😅. Could you advise on how I can get this working?Ryan Delgado
09/08/2022, 11:07 PMNiels Bantilan
09/09/2022, 2:14 PMModelServer
protocol to make serving models via UnionML more consistent: https://slime-hunter-536.notion.site/UnionML-Serving-and-Scheduling-RFC-a3aa3ead283e410c98f1bda5fede569c.
Feedback/questions/comments much appreciated!Niels Bantilan
09/14/2022, 1:40 PMNiels Bantilan
09/14/2022, 4:02 PMNiels Bantilan
11/09/2022, 4:48 PMNiels Bantilan
11/30/2022, 2:48 PMNiels Bantilan
12/14/2022, 4:56 PMSandra Youssef
Sandra Youssef
Samhita Alla
Alain GALDEMAS
11/24/2023, 6:14 PMunionml deploy app:model
, authentication to flyte is OK, but deploy fails with the following error :
[unionml] failed to deploy app:model: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
I suppose that credentials to access the docker registry are missing, but I don't know how to set it to be used by unionml ? I suppose there's some variables to set, but no documentation about this, even in flyte ?!
can someone help me to find out something to solve this problemAlain GALDEMAS
11/27/2023, 3:13 PMunionml train app:model -i '{"hyperparameters": {"C": 1.0, "max_iter": 1000}}'
, and the workflow execute and run OK in flyte, but when I want to predict
unionml predict app:model -f data/sample_features.json
I've got an error :
TypeError: No automatic conversion found from type <class 'sklearn.linear_model._logistic.LogisticRegression'> to FlyteFile.Supported (os.PathLike, str, Flytefile)
which is a flytekit originated error,
my config is unionml 0.2.1, flyteidl 1.5.21, flytekit 1.9.1, scikit-learn 1.3.2, with flyte-binary
I use the app.py created with unionml init project, with a remote configuration towards the target flyte-binary, which seems ok
I'm stuck with this issue, any idea on how to fix, by specifying a type somewhere ?
is there a change to do in the app.py, to avoid this error ?
is it a bug due to some new version of packages ?
thanks in advance for any help to fix this iissue