• s

    Sam

    3 months ago
    👋 Hi everyone!
  • George Odette

    George Odette

    3 months ago
    HI all, I am trying to pass a file locally (not running the workflow in the console) but getting the error "Error converting /home/sgodette/Downloads/GCF_000013925.1_ASM1392v2_genomic.fna because it's not a file". What could I not be possibly inputting right?
    George Odette
    Ketan (kumare3)
    6 replies
    Copy to Clipboard
  • s

    SeungTaeKim

    3 months ago
    I have a question to use
    CronSchedule
    method when I setup launch plan this is my example of launchplan below.
    if __name__ == "__main__":
        remote = FlyteRemote(config=Config.auto())
        remote.register_launch_plan(
            entity=LaunchPlan.get_or_create(
                name="daily-test",
                workflow=<http://workflows.wf|workflows.wf>,
                # Minutes, Hours, Day-of-month, Month, Day-of-week, Year
                # minute, hour, day-of-month, month, day-of-week, year
                # cron_expression -> aws cron scheme
                schedule=CronSchedule(cron_expression="0 3 * * ? *"),
            ),
            project="flytesnacks", #flyte-aistudio
            domain="development",
            version="51Dwe74FqGRzs2v1WPwrcg==",
        )
    It returns the error below
    launch plan daily failed to update due to rpc error: code = Internal desc = failed adding schedule for unknown schedule expression type &{0 3 * * ? *}
    Is this bug fixed to use
    cron_expression with 6 field type
    in the latest version?
    s
    1 replies
    Copy to Clipboard
  • Kim Junil

    Kim Junil

    3 months ago
    Hi, It's related to the chat above I'm trying to schedule launchplan with cron_expression but error occurs
    launch plan daily failed to update due to rpc error: code = Internal desc = failed adding schedule for unknown schedule expression type &{0 0 * * ? *}
    I found this code in flyteadmin github repo while debugging (https://github.com/flyteorg/flyteadmin/blob/master/scheduler/dbapi/event_scheduler_impl.go)
    func (s *eventScheduler) AddSchedule(ctx context.Context, input interfaces.AddScheduleInput) error {
    	...
    	switch v := input.ScheduleExpression.GetScheduleExpression().(type) {
    	case *admin.Schedule_Rate:
    		fixedRateValue = v.Rate.Value
    		fixedRateUnit = v.Rate.Unit
    	case *admin.Schedule_CronSchedule:
    		cronString = v.CronSchedule.Schedule
    	default:
    		return fmt.Errorf("failed adding schedule for unknown schedule expression type %v", v)
    	}
    	...
    }
    and this code in flyteidl repo (https://github.com/flyteorg/flyteidl/blob/master/gen/pb-go/flyteidl/admin/schedule.pb.go)
    type Schedule struct {
    	// Types that are valid to be assigned to ScheduleExpression:
    	//	*Schedule_CronExpression
    	//	*Schedule_Rate
    	//	*Schedule_CronSchedule
    	ScheduleExpression isSchedule_ScheduleExpression `protobuf_oneof:"ScheduleExpression"`
    	// Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
    	KickoffTimeInputArg  string   `protobuf:"bytes,3,opt,name=kickoff_time_input_arg,json=kickoffTimeInputArg,proto3" json:"kickoff_time_input_arg,omitempty"`
    	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    	XXX_unrecognized     []byte   `json:"-"`
    	XXX_sizecache        int32    `json:"-"`
    }
    It seems that the error is caused by
    AddSchedule
    function not processing ths
    Schedule_CronExpression
    type. Can someone help me?
    Kim Junil
    p
    +1
    6 replies
    Copy to Clipboard
  • Jonathan Lamiel

    Jonathan Lamiel

    3 months ago
    Hello there, I would like to get events equivalent to what is generated by
    flytectl get execution -p flytesnacks -d development -o json
    in the logs or somewhere for post-processing is there a way to do that? (I already have External events configured and processed by a lambda but I missing some context from it)
    Jonathan Lamiel
    Samhita Alla
    +2
    18 replies
    Copy to Clipboard
  • Samhita Alla

    Samhita Alla

    3 months ago
    📣 Contributors of the Month 📣 Hi everyone! For the month of June, we want to give shout-outs and send swag to the following list of contributors who are sweating it out to make Flyte even better! @Matthew Griffin built Pterodactyl , Javascript SDK for Flyte. Check out the repo & watch the

    recording

    to see what Matthew has to say about the library. • @David Przybilla wrote an article that differentiates Flyte and Kubeflow. He has also worked on compiling a doc of all his learnings detailing how Flyte works — highly recommended for first-time contributors. • @Robert Everson worked on adding ARM architecture support to Flytekit for Lyft internal use; the changes would hopefully be merged into the master branch very soon. We hope to have many more of your contributions, Matthew, David, and Robert! All contributors of the month should be available on flyte.org.
  • Sandra Youssef

    Sandra Youssef

    3 months ago
    Hi Flyers, Learn more about Flyte's upcoming v1.1.0 Hawk release featuring FlyteDecks, how Flyte compares to other popular orchestration tools, and meet some of Flyte's contributors in “Flyte Monthly - Issue # 9”.https://lnkd.in/g2DDzpEZ Subscribe here: https://lnkd.in/gQyBmi2c
  • Mike Ossareh

    Mike Ossareh

    3 months ago
    We've a dataclass that has a parameter that is of type:
    typing.List[typing.List[float]]
    ; it appears to fail to serialize. Is this a known issue / limitation?
    Mike Ossareh
    Yee
    24 replies
    Copy to Clipboard
  • Sandra Youssef

    Sandra Youssef

    3 months ago
    Hi Flyers, Join the Flyte Community Sync tomorrow to learn more about
    pyflyte register
    and plans for how the
    pyflyte register, run, package
    commands are evolving. Also, get a preview of the upcoming
    flyte x ray
    and
    flyte signals
    features, as well as the all-new Flyte Airflow Provider! June 28 at 9 am PTCalendar invite and Zoom link See you there! Flyte Team
  • Vijay Saravana

    Vijay Saravana

    3 months ago
    Hello Team, I want to specify a GPU pool for my map task. I went through this documentation and it is not very clear. Could you please help with this ?
    Vijay Saravana
    k
    +1
    14 replies
    Copy to Clipboard