so i have made a change in pytorch plugin in flyte...
# flyte-support
e
so i have made a change in pytorch plugin in flytekit and i generated the proto as well in flyte repo, now whats next, how can i test this change by submitting the job in remote deployment
c
You'll probably have to build the flyte propeller image and then configure the tag in the helm chart to point to your custom image.
e
yeah so i build the image but i keep getting
Copy code
ImportError: cannot import name 'SchedulingPolicy' from 'flytekitplugins.kfpytorch.task' (/opt/micromamba/envs/runtime/lib/python3.10/site-packages/flytekitplugins/kfpytorch/task.py)
this import error, i have added this SchedulingPolicy in the code
fir runpolicy in kubeflowV1
c
https://github.com/flyteorg/flyte/blob/master/flyteidl/Makefile Have you tried generating your own flyteidl python package based on your updated protos?
e
i did , i ran
make generate
and see the common.pb there with my change
do i need to run buid_python too
will it work as i am using flyte-binary helm
c
make generate
just looks like it runs protoc
build_python
looks closer to what you'd need to have a local flyteidl package with the protos
e
i did that but will i be ok building just a flyte image insrtead of propeller
as i am not using it directly
c
Not sure, I haven't used
flyte-binary
before
e
ohk
still same error
something i am missing
ok i make it work thank you for your support
f
You could just run in local mode
It will run everything