Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow legacy orchestration #5176

Merged
merged 6 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/packages/operators/src/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ const useOperatorPromptSubmitOptions = (
label: "Schedule",
id: "schedule",
default: defaultToSchedule,
description: "Run this operation on your compute cluster",
description: "Run this operation in the background",
onSelect() {
setSelectedID("schedule");
},
Expand Down Expand Up @@ -369,7 +369,7 @@ const useOperatorPromptSubmitOptions = (
!hasAvailableOrchestators &&
!executionOptions.allowImmediateExecution;
const warningMessage =
"There are no available orchestrators to schedule this operation. Please contact your administrator to add an orchestrator.";
"This operation requires [delegated execution](https://docs.voxel51.com/plugins/using_plugins.html#delegated-operations). Contact us about upgrading to [FiftyOne Teams](https://docs.voxel51.com/teams/index.html)";

return {
showWarning,
Expand Down
8 changes: 8 additions & 0 deletions docs/source/plugins/using_plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,14 @@ FiftyOne Open Source users can run delegated operations via the
This command starts a service that will continuously check for any queued
delegated operations and execute them serially in its process.

You must also ensure that the
:ref:`allow_legacy_orchestrators <configuring-fiftyone>` config flag is set
in the environment where you run the App, e.g. by setting:

.. code-block:: shell

export FIFTYONE_ALLOW_LEGACY_ORCHESTRATORS=true

.. _delegated-orchestrator-teamas:

FiftyOne Teams
Expand Down
Loading
Loading