Diagnose and resolve package version mismatches between local and distributed worker environments.
When running Geneva UDFs on distributed workers, your code is serialized locally and executed on remote workers. If the worker environment differs from your local environment, you may encounter subtle and difficult-to-debug errors.
These issues are notoriously difficult to debug because the error messages often don’t indicate the root cause.
The compare_ray_environments Tool
Geneva provides a diagnostic tool to compare your local environment against Ray workers.If you are encountering a hang or exception you can use the following diagnosis worklflow to resolve the problem.
1
Run the diagnostic tool programatically or via the CLI.
2
Check PACKAGES and ENV VARS output sections for mismatches.
from geneva.manifest.builder import PipManifestBuildermanifest = PipManifestBuilder.create("fix").pip(["numpy==1.26.4"]).build()
6
OPTIONAL: Build custom image for production (if using KubeRay).
Programmatic Usage
from geneva.runners.ray.compare_env import compare_ray_environments# Compare and print (requires Geneva context to be initialize via `with db.context(..)`)result = compare_ray_environments()# Compare environments, filtering environment variables with specified prefixresult = compare_ray_environments(env_prefix="PY")
CLI Usage
# Connect to existing Ray clusterpython -m geneva.runners.ray.compare_env# Start new local Ray clusterpython -m geneva.runners.ray.compare_env --address local# Filter env vars by prefixpython -m geneva.runners.ray.compare_env --env-prefix RAY# Show full JSON snapshotspython -m geneva.runners.ray.compare_env --show-all# Skip sys.path comparisonpython -m geneva.runners.ray.compare_env --no-sys-path
Understanding the Output
The tool outputs several sections to help you identify mismatches.
PYTHON / PLATFORM
Shows Python version and OS information for both environments:
Watch for different Python versions or different OS types (macOS local vs Linux remote).
Architecture Mismatch (macOS to Linux)
If you see different OS types (e.g., Darwin locally vs Linux remotely), compiled extensions may fail with ModuleNotFoundError or segfaults.Solution: Run Geneva from the same OS/architecture as your cluster (typically Linux x86_64). Use a Linux VM, container, or remote development environment.
Environment Variables
Environment variables present in only one environment:
=== ENV VARS: keys only in LOCAL === + CONDA_PREFIX + VIRTUAL_ENV=== ENV VARS: keys only in REMOTE === + RAY_ADDRESS + KUBERNETES_SERVICE_HOST
Missing AWS_* or GOOGLE_APPLICATION_CREDENTIALS can cause storage authentication failures.
Passing Environment Variables to Workers
If critical environment variables are missing on workers, you can pass them via the manifest or cluster configuration. Set the values in the shell before starting the Python program:
Pros: Quick, reusable across sessions, stored with your database.Cons: Slower startup (downloads packages), may not work for complex dependencies.Option 2: Custom Ray Worker ImageFor KubeRay deployments, build a custom worker image:
Pros: Fastest startup, reproducible.Cons: Requires image build/push workflow.Option 3: Conda EnvironmentUse a conda environment on workers via the cluster builder:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LanceDB","colors":{"primary":"#FF6B35","light":"#FF8A5C","dark":"#E55A2B"},"logo":{"light":"https://mintcdn.com/lancedb-bcbb4faf/6L0IRVkfdlgMU1Pw/static/assets/logo/dark-lancedb-logo.svg?fit=max\u0026auto=format\u0026n=6L0IRVkfdlgMU1Pw\u0026q=85\u0026s=d0592e59a29df2477080a857e13e341f","dark":"https://mintcdn.com/lancedb-bcbb4faf/t0AGunBr6LulGkIJ/static/assets/logo/light-lancedb-logo.svg?fit=max\u0026auto=format\u0026n=t0AGunBr6LulGkIJ\u0026q=85\u0026s=9b508fcb8d83cbc9bd05e57227d739e9","href":"https://lancedb.com"},"favicon":"https://mintcdn.com/lancedb-bcbb4faf/0sS6vrpmM3KSVyss/static/favicon.ico?fit=max\u0026auto=format\u0026n=0sS6vrpmM3KSVyss\u0026q=85\u0026s=84b9ea3dfc312b7a4dfc99219e229b33","appearance":{"strict":false},"background":{"color":{"light":"#FAF5F0","dark":"#000000"}},"navbar":{"links":[{"href":"https://www.lancedb.com/contact","label":"Support"}]},"footer":{"socials":{"github":"https://github.com/lancedb","linkedin":"https://www.linkedin.com/company/lancedb","x":"https://x.com/lancedb","discord":"https://discord.gg/AUEWnJ7Txb"},"links":[{"items":[{"label":"Cookie settings","href":"#cookie-settings"}]}]},"fonts":{"family":"Inter"},"styling":{"codeblocks":{"theme":{"light":"vitesse-light","dark":"catppuccin-mocha"}},"latex":true},"integrations":{"ga4":{"measurementId":"G-1TMC2PR69E"}},"banner":{"content":"[AI research has outgrown the modern data stack. We raised $57.5M to rebuild it. Read our Series B story →](https://www.lancedb.com/blog/lancedb-series-b-funding?utm_campaign=series-b-funding\u0026utm_content=docs\u0026utm_medium=lancedb\u0026utm_source=banner)","dismissible":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lancedb-bcbb4faf","hasAudioNarration":false,"actualSubdomain":"lancedb-bcbb4faf","customDomains":["docs.lancedb.com"],"gitSource":{"type":"github","owner":"lancedb","repo":"docs","deployBranch":"assembled","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6af512fe0902081a53d8698c"},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b008022286e5a483262aeff","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"Documentation","count":366},{"language":"default","tag":"Enterprise","count":343},{"language":"default","tag":"Embedded","count":340},{"language":"default","tag":"API Reference","count":113},{"language":"default","tag":"REST API","count":110},{"language":"default","tag":"Feature Engineering","count":90},{"language":"default","tag":"Table","count":88},{"language":"default","tag":"Integrations","count":84},{"language":"default","tag":"SQL Reference","count":80},{"language":"default","tag":"Geneva","count":68}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"static/styles/style.css","content":":root{--banner-left: #e4d8f8;--banner-right: #e55a2b}@font-face{font-family:\"LanceDB KaTeX AMS\";src:url(\"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/fonts/KaTeX_AMS-Regular.woff2\") format(\"woff2\");font-display:swap;font-style:normal;font-weight:400}.katex .mathbb,.katex .textbb{font-family:\"LanceDB KaTeX AMS\", \"KaTeX_AMS\", serif!important}#banner,:where(.banner,[data-banner],[class*=\"Banner_banner\"]){background:linear-gradient(90deg, var(--banner-left) 0%, var(--banner-right) 100%)!important;color:#1b0f09!important;border:none!important}#banner a,:where(.banner,[data-banner],[class*=\"Banner_banner\"]) a{color:#1b0f09!important;font-size:0.9rem;font-weight:500;text-decoration-color:rgba(27, 15, 9, 0.35)}#banner button,:where(.banner,[data-banner],[class*=\"Banner_banner\"]) button{color:#1b0f09!important}"}]}
{"page":{"pagePath":"enterprise/v1-14-0/geneva/deployment/dependency-verification","slug":"/enterprise/v1-14-0/geneva/deployment/dependency-verification","pageMetadata":{"title":"Dependency Verification","sidebarTitle":"Dependency Verification","description":"Diagnose and resolve package version mismatches between local and distributed worker environments.","icon":"magnifying-glass-chart","href":"/enterprise/v1-14-0/geneva/deployment/dependency-verification"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Diagnose and resolve package version mismatches between local and distributed worker environments.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Step,Steps,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`When running Geneva UDFs on distributed workers, your code is serialized locally and executed on remote workers. If the worker environment differs from your local environment, you may encounter subtle and difficult-to-debug errors.`}),`\n`,_jsx(Heading,{level:`2`,id:`example-environment-mismatch-errors`,children:`Example environment mismatch errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Symptom`}),_jsx(_components.th,{children:`Likely Cause`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TypeError: Enum.__new__() missing 1 required positional argument`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`attrs`}),` version mismatch`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TypeError: Can't instantiate abstract class`})}),_jsx(_components.td,{children:`Package structure differences`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ArrowInvalid: cannot cast`}),` / serialization errors`]}),_jsx(_components.td,{children:`NumPy 1.x vs 2.x mismatch`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ModuleNotFoundError`}),` on workers`]}),_jsx(_components.td,{children:`Package only installed locally`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Model loading failures`}),_jsx(_components.td,{children:`PyTorch version mismatch`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Permission denied errors`}),_jsx(_components.td,{children:`Missing API keys in envrionment variables`})]})]})]}),`\n`,_jsx(_components.p,{children:`These issues are notoriously difficult to debug because the error messages often don’t indicate the root cause.`}),`\n`,_jsxs(Heading,{level:`2`,id:`the-compare_ray_environments-tool`,children:[`The `,_jsx(_components.code,{children:`compare_ray_environments`}),` Tool`]}),`\n`,_jsx(_components.p,{children:`Geneva provides a diagnostic tool to compare your local environment against Ray workers.`}),`\n`,_jsx(_components.p,{children:`If you are encountering a hang or exception you can use the following diagnosis worklflow to resolve the problem.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Run the diagnostic tool`}),` programatically or via the CLI.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Check PACKAGES and ENV VARS output sections for mismatches`}),`.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Identify critical packages`}),`: numpy, torch, pyarrow, attrs, pydantic.`]})}),_jsx(Step,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Identify inconsistent environment variables`}),`: `,_jsx(_components.code,{children:`AWS_*`}),`, `,_jsx(_components.code,{children:`GOOGLE_APPLICATION_CREDENTIALS`})]})}),_jsxs(Step,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Fix with manifest`}),` for quick testing:`]}),_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Python`,icon:`python`,numberOfLines:`3`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`from`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`manifest`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`builder `}),_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` PipManifestBuilder`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`manifest `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` PipManifestBuilder`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`create`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`fix`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`).`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`pip`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`([`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`numpy==1.26.4`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`]).`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`build`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`()`})]}),`\n`]})})})})]}),_jsx(Step,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`OPTIONAL: Build custom image`}),` for production (if using KubeRay).`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`programmatic-usage`,children:`Programmatic Usage`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Python`,icon:`python`,numberOfLines:`7`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`from`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`runners`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`ray`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`compare_env `}),_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` compare_ray_environments`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:\"# Compare and print (requires Geneva context to be initialize via `with db.context(..)`)\"})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`result `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:` compare_ray_environments`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:`# Compare environments, filtering environment variables with specified prefix`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`result `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:` compare_ray_environments`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B07D48`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EBA0AC`,\"--shiki-dark-font-style\":`italic`},children:`env_prefix`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`PY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})]}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`cli-usage`,children:`CLI Usage`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`CLI`,icon:`terminal`,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:`# Connect to existing Ray cluster`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#59873A`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`python`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#A6E3A1`},children:` -m`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:` geneva.runners.ray.compare_env`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:`# Start new local Ray cluster`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#59873A`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`python`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#A6E3A1`},children:` -m`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:` geneva.runners.ray.compare_env`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#A6E3A1`},children:` --address`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:` local`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:`# Filter env vars by prefix`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#59873A`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`python`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#A6E3A1`},children:` -m`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:` geneva.runners.ray.compare_env`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#A6E3A1`},children:` --env-prefix`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:` RAY`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:`# Show full JSON snapshots`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#59873A`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`python`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#A6E3A1`},children:` -m`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:` geneva.runners.ray.compare_env`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#A6E3A1`},children:` --show-all`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:`# Skip sys.path comparison`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#59873A`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`python`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#A6E3A1`},children:` -m`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:` geneva.runners.ray.compare_env`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#A6E3A1`},children:` --no-sys-path`})]}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`understanding-the-output`,children:`Understanding the Output`}),`\n`,_jsx(_components.p,{children:`The tool outputs several sections to help you identify mismatches.`}),`\n`,_jsx(Heading,{level:`3`,id:`python-/-platform`,children:`PYTHON / PLATFORM`}),`\n`,_jsx(_components.p,{children:`Shows Python version and OS information for both environments:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`13`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`=== PYTHON / PLATFORM ===`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Local:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Python: 3.11.9 (main, Apr 19 2024, 16:48:06) [GCC 11.2.0]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Impl : CPython`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Exec : /home/user/.venv/bin/python`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OS : Linux 5.15.0-generic (x86_64)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Remote:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Python: 3.11.9 (main, Apr 19 2024, 16:48:06) [GCC 11.2.0]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Impl : CPython`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Exec : /home/ray/anaconda3/bin/python`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OS : Linux 5.4.0-aws (x86_64)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Watch for different Python versions or different OS types (macOS local vs Linux remote).`})}),`\n`,_jsx(Heading,{level:`4`,id:`architecture-mismatch-macos-to-linux`,children:`Architecture Mismatch (macOS to Linux)`}),`\n`,_jsxs(_components.p,{children:[`If you see different OS types (e.g., `,_jsx(_components.code,{children:`Darwin`}),` locally vs `,_jsx(_components.code,{children:`Linux`}),` remotely), compiled extensions may fail with `,_jsx(_components.code,{children:`ModuleNotFoundError`}),` or segfaults.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution`}),`: Run Geneva from the same OS/architecture as your cluster (typically Linux x86_64). Use a Linux VM, container, or remote development environment.`]}),`\n`,_jsx(Heading,{level:`3`,id:`environment-variables`,children:`Environment Variables`}),`\n`,_jsx(_components.p,{children:`Environment variables present in only one environment:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`=== ENV VARS: keys only in LOCAL ===`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + CONDA_PREFIX`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + VIRTUAL_ENV`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`=== ENV VARS: keys only in REMOTE ===`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + RAY_ADDRESS`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + KUBERNETES_SERVICE_HOST`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Missing `,_jsx(_components.code,{children:`AWS_*`}),` or `,_jsx(_components.code,{children:`GOOGLE_APPLICATION_CREDENTIALS`}),` can cause storage authentication failures.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`passing-environment-variables-to-workers`,children:`Passing Environment Variables to Workers`}),`\n`,_jsx(_components.p,{children:`If critical environment variables are missing on workers, you can pass them via the manifest or cluster configuration. Set the values in the shell before starting the Python program:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CBA6F7`},children:`export`}),_jsx(_components.span,{style:{color:`#B07D48`,\"--shiki-dark\":`#CDD6F4`},children:` AWS_ACCESS_KEY_ID`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`your-access-key-id`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CBA6F7`},children:`export`}),_jsx(_components.span,{style:{color:`#B07D48`,\"--shiki-dark\":`#CDD6F4`},children:` AWS_SECRET_ACCESS_KEY`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`your-secret-access-key`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CBA6F7`},children:`export`}),_jsx(_components.span,{style:{color:`#B07D48`,\"--shiki-dark\":`#CDD6F4`},children:` MY_API_KEY`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`your-api-key`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Option 1: Via Manifest`})}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Python`,icon:`python`,numberOfLines:`12`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`from`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`manifest`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`builder `}),_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` PipManifestBuilder`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` os`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`manifest `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` PipManifestBuilder`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`create`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-manifest`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`env_vars`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`AWS_ACCESS_KEY_ID`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` os`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EBA0AC`,\"--shiki-dark-font-style\":`italic`},children:`environ`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`[`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#A6E3A1`,\"--shiki-dark-font-style\":`italic`},children:`AWS_ACCESS_KEY_ID`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`AWS_SECRET_ACCESS_KEY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` os`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EBA0AC`,\"--shiki-dark-font-style\":`italic`},children:`environ`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`[`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#A6E3A1`,\"--shiki-dark-font-style\":`italic`},children:`AWS_SECRET_ACCESS_KEY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`MY_API_KEY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` os`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EBA0AC`,\"--shiki-dark-font-style\":`italic`},children:`environ`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`[`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#A6E3A1`,\"--shiki-dark-font-style\":`italic`},children:`MY_API_KEY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` })`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`build`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})}),`\n`]})})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Option 2: Via Cluster Configuration`})}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Python`,icon:`python`,numberOfLines:`15`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`from`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`cluster`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`builder `}),_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` KubeRayClusterBuilder`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` os`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`cluster `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` KubeRayClusterBuilder`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`create`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-cluster`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`ray_init_kwargs`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`runtime_env`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`env_vars`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`AWS_ACCESS_KEY_ID`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` os`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EBA0AC`,\"--shiki-dark-font-style\":`italic`},children:`environ`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`[`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#A6E3A1`,\"--shiki-dark-font-style\":`italic`},children:`AWS_ACCESS_KEY_ID`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`AWS_SECRET_ACCESS_KEY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` os`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EBA0AC`,\"--shiki-dark-font-style\":`italic`},children:`environ`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`[`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#A6E3A1`,\"--shiki-dark-font-style\":`italic`},children:`AWS_SECRET_ACCESS_KEY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` })`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`build`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})}),`\n`]})})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Avoid hardcoding secrets. Use `,_jsx(_components.code,{children:`os.environ`}),` to pass values from your local environment, or use a secrets manager in production.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`packages`,children:`Packages`}),`\n`,_jsx(_components.p,{children:`The tool shows version mismatches and packages only present in one environment:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`13`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`=== PACKAGES: version mismatches ===`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` * numpy: local=1.26.4 remote=2.2.6`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` * torch: local=2.0.1 remote=2.8.0+cpu`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` * attrs: local=23.2.0 remote=24.2.0`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` * pyarrow: local=14.0.1 remote=17.0.0`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`=== PACKAGES: only in LOCAL ===`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + my-custom-package`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + dev-tools`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`=== PACKAGES: only in REMOTE ===`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + kuberay-client`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Watch for major version differences (NumPy 1.x vs 2.x) and PyTorch version mismatches.`})}),`\n`,_jsx(Heading,{level:`4`,id:`common-package-issues`,children:`Common Package Issues`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Issue`}),_jsx(_components.th,{children:`Symptoms`}),_jsx(_components.th,{children:`Fix`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`NumPy 1.x vs 2.x`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ArrowInvalid`}),`, `,_jsx(_components.code,{children:`ValueError: cannot convert`}),`, serialization failures`]}),_jsxs(_components.td,{children:[`Pin `,_jsx(_components.code,{children:`numpy==1.26.4`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`PyTorch mismatch`})}),_jsx(_components.td,{children:`Model loading failures, CUDA errors, unexpected inference results`}),_jsxs(_components.td,{children:[`Pin to matching `,_jsx(_components.code,{children:`torch`}),` version`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`attrs mismatch`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TypeError: Enum.__new__() missing 1 required positional argument`})}),_jsxs(_components.td,{children:[`Pin `,_jsx(_components.code,{children:`attrs`}),` to local version`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Missing package`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ModuleNotFoundError: No module named 'xyz'`})}),_jsx(_components.td,{children:`Add package to manifest`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`fixing-package-mismatches`,children:`Fixing Package Mismatches`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Option 1: Manifest pip Dependencies`})}),`\n`,_jsx(_components.p,{children:`Specify packages in a Geneva manifest for a quick fix:`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Python`,icon:`python`,numberOfLines:`17`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`from`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`manifest`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`builder `}),_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` PipManifestBuilder`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`manifest `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` PipManifestBuilder`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`create`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-manifest`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`pip`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`([`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`numpy==1.26.4`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`torch==2.0.1`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`attrs==23.2.0`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` ])`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`build`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`conn `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`connect`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`s3://my-bucket/my-db`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`conn`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`define_manifest`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-manifest`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`,`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` manifest`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`with`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` conn`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`context`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B07D48`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EBA0AC`,\"--shiki-dark-font-style\":`italic`},children:`cluster`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-cluster`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`,`}),_jsx(_components.span,{style:{color:`#B07D48`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#EBA0AC`,\"--shiki-dark-font-style\":`italic`},children:` manifest`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-manifest`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` conn`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`open_table`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-table`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`).`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`backfill`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-column`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})]}),`\n`]})})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Pros`}),`: Quick, reusable across sessions, stored with your database.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Cons`}),`: Slower startup (downloads packages), may not work for complex dependencies.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Option 2: Custom Ray Worker Image`})}),`\n`,_jsx(_components.p,{children:`For KubeRay deployments, build a custom worker image:`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Dockerfile`,icon:`docker`,numberOfLines:`12`,language:`docker`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`docker`,children:_jsxs(_components.code,{language:`docker`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:`# Dockerfile.ray-worker`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`FROM`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` rayproject/ray:2.30.0-py311`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:`# Install exact versions`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`RUN`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` pip install \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` numpy==1.26.4 \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` torch==2.0.1 \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` attrs==23.2.0 \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva==0.8.0`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#9399B2`,\"--shiki-dark-font-style\":`italic`},children:`# Copy any custom packages`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`COPY`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` ./my_udfs /app/my_udfs`})]}),`\n`]})})})}),`\n`,_jsx(_components.p,{children:`Then reference in RayCluster spec:`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Kubernetes`,icon:`kubernetes`,numberOfLines:`6`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#998418`,\"--shiki-dark\":`#89B4FA`},children:`spec`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#998418`,\"--shiki-dark\":`#89B4FA`},children:` workerGroupSpecs`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` -`}),_jsx(_components.span,{style:{color:`#998418`,\"--shiki-dark\":`#89B4FA`},children:` template`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#998418`,\"--shiki-dark\":`#89B4FA`},children:` spec`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#998418`,\"--shiki-dark\":`#89B4FA`},children:` containers`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` -`}),_jsx(_components.span,{style:{color:`#998418`,\"--shiki-dark\":`#89B4FA`},children:` image`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`:`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:` your-registry/ray-worker:latest`})]}),`\n`]})})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Pros`}),`: Fastest startup, reproducible.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Cons`}),`: Requires image build/push workflow.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Option 3: Conda Environment`})}),`\n`,_jsx(_components.p,{children:`Use a conda environment on workers via the cluster builder:`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Python`,icon:`python`,numberOfLines:`9`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`from`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`cluster`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`builder `}),_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` KubeRayClusterBuilder`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`cluster `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` KubeRayClusterBuilder`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`create`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-cluster`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`ray_init_kwargs`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`runtime_env`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` {`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`conda`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`environment.yml`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` })`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`build`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})}),`\n`]})})})}),`\n`,_jsx(_components.p,{children:`Or specify conda channels and dependencies inline:`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Python`,icon:`python`,numberOfLines:`19`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light catppuccin-mocha`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#393a34`,\"--shiki-dark\":`#cdd6f4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`from`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` geneva`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`cluster`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`builder `}),_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#CBA6F7`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` KubeRayClusterBuilder`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:`cluster `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#94E2D5`},children:`=`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#CDD6F4`},children:` KubeRayClusterBuilder`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`create`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`my-cluster`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`ray_init_kwargs`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`runtime_env`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`conda`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`channels`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` [`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`conda-forge`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`dependencies`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`python=3.10`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`ffmpeg\u003c8`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`torchvision=0.22.1`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`config`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` {`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#A6E3A1`},children:`eager_install`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#A6E3A1`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#FAB387`},children:` True`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` })`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:` .`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#89B4FA`},children:`build`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#9399B2`},children:`)`})}),`\n`]})})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Pros`}),`: Best for complex dependencies with native libraries (ffmpeg, CUDA).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Cons`}),`: Slower environment creation, requires conda on workers.`]}),`\n`,_jsx(Heading,{level:`2`,id:`api-reference`,children:`API Reference`}),`\n`,_jsxs(_components.p,{children:[`For detailed API documentation on the environment comparison functions, see the `,_jsx(_components.a,{href:`https://lancedb.github.io/geneva/api/diagnostics`,children:`Geneva Diagnostics API Reference`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"vitesse-light","dark":"catppuccin-mocha"}},"config":{},"pageMetadata":{"title":"Dependency Verification","sidebarTitle":"Dependency Verification","description":"Diagnose and resolve package version mismatches between local and distributed worker environments.","icon":"magnifying-glass-chart","href":"/enterprise/v1-14-0/geneva/deployment/dependency-verification"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Example environment mismatch errors","slug":"example-environment-mismatch-errors","depth":2,"children":[]},{"title":"The compare_ray_environments Tool","slug":"the-compare_ray_environments-tool","depth":2,"children":[{"title":"Programmatic Usage","slug":"programmatic-usage","depth":3,"children":[]},{"title":"CLI Usage","slug":"cli-usage","depth":3,"children":[]}]},{"title":"Understanding the Output","slug":"understanding-the-output","depth":2,"children":[{"title":"PYTHON / PLATFORM","slug":"python-/-platform","depth":3,"children":[]},{"title":"Architecture Mismatch (macOS to Linux)","slug":"architecture-mismatch-macos-to-linux","depth":4,"children":[]},{"title":"Environment Variables","slug":"environment-variables","depth":3,"children":[]},{"title":"Passing Environment Variables to Workers","slug":"passing-environment-variables-to-workers","depth":4,"children":[]},{"title":"Packages","slug":"packages","depth":3,"children":[]},{"title":"Common Package Issues","slug":"common-package-issues","depth":4,"children":[]},{"title":"Fixing Package Mismatches","slug":"fixing-package-mismatches","depth":4,"children":[]}]},{"title":"API Reference","slug":"api-reference","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/lancedb-bcbb4faf/17e8f66511a11582/static/scripts/cookie-consent.js"],"subdomain":"lancedb-bcbb4faf","siteName":"LanceDB","title":"Dependency Verification - LanceDB","navMaps":{"firstHrefInVersion":{"1.14.0":{"href":"/enterprise/v1-14-0/geneva/deployment/dependency-verification","matchLevel":0},"1.13.0":{"href":"/enterprise/v1-13-0/geneva/deployment/dependency-verification","matchLevel":1},"1.12.0":{"href":"/enterprise/v1-12-0/geneva/deployment/dependency-verification","matchLevel":1},"0.41.0":{"href":"/oss/v0-41-0","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T17:15:46.505Z","originalFileLocation":"enterprise/v1-14-0/geneva/deployment/dependency-verification.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Diagnose and resolve package version mismatches between local and distributed worker environments.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LanceDB\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Dependency Verification - LanceDB\">\u003cmeta data-mint-head property=\"og:description\" content=\"Diagnose and resolve package version mismatches between local and distributed worker environments.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LanceDB\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lancedb-bcbb4faf.mintlify.site/_mintlify/api/og/v2?division=Deployment\u0026amp;title=Dependency+Verification\u0026amp;description=Diagnose+and+resolve+package+version+mismatches+between+local+and+distributed+worker+environments.\u0026amp;theme=9d8045ca9469df4ceece463f\u0026amp;signature=b38e44c863832cada3d266950c13f2da5e4574f5bde4cb172173f4bc3638149b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Dependency Verification - LanceDB\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Diagnose and resolve package version mismatches between local and distributed worker environments.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lancedb-bcbb4faf.mintlify.site/_mintlify/api/og/v2?division=Deployment\u0026amp;title=Dependency+Verification\u0026amp;description=Diagnose+and+resolve+package+version+mismatches+between+local+and+distributed+worker+environments.\u0026amp;theme=9d8045ca9469df4ceece463f\u0026amp;signature=b38e44c863832cada3d266950c13f2da5e4574f5bde4cb172173f4bc3638149b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lancedb-bcbb4faf/AJCI1CXWoYDPZbb4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LanceDB\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF6B35\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/enterprise/v1-14-0/geneva/deployment/dependency-verification.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lancedb.com/#organization\",\"name\":\"LanceDB\",\"url\":\"https://docs.lancedb.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lancedb-bcbb4faf/6L0IRVkfdlgMU1Pw/static/assets/logo/dark-lancedb-logo.svg?fit=max\u0026auto=format\u0026n=6L0IRVkfdlgMU1Pw\u0026q=85\u0026s=d0592e59a29df2477080a857e13e341f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lancedb.com#website\",\"name\":\"LanceDB\",\"url\":\"https://docs.lancedb.com\",\"publisher\":{\"@id\":\"https://docs.lancedb.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification#webpage\",\"url\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification\",\"name\":\"Dependency Verification\",\"description\":\"Diagnose and resolve package version mismatches between local and distributed worker environments.\",\"dateModified\":\"2026-11-20T17:15:46.505Z\",\"isPartOf\":{\"@id\":\"https://docs.lancedb.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Feature Engineering\",\"item\":\"https://docs.lancedb.com/enterprise/v1-14-0/feature-engineering\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Geneva\",\"item\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Deployment\",\"item\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/helm\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Dependency Verification\",\"item\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification#article\",\"headline\":\"Dependency Verification\",\"name\":\"Dependency Verification\",\"description\":\"Diagnose and resolve package version mismatches between local and distributed worker environments.\",\"url\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lancedb.com/enterprise/v1-14-0/geneva/deployment/dependency-verification#webpage\"},\"dateModified\":\"2026-11-20T17:15:46.505Z\",\"publisher\":{\"@id\":\"https://docs.lancedb.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lancedb.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LanceDB\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LanceDB\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/enterprise/v1-14-0/geneva/deployment/dependency-verification.md","siteName":"LanceDB","nav":{"global":null,"products":[{"product":"Enterprise","icon":"server","description":"Multimodal lakehouse","versions":[{"version":"1.14.0","default":true,"tag":"Latest","tabs":[{"tab":"Documentation","groups":[{"group":"Introduction","pages":[{"title":"LanceDB","sidebarTitle":"LanceDB","icon":"https://mintlify.s3.us-west-1.amazonaws.com/lancedb-bcbb4faf/enterprise/v1-14-0/static/assets/logo/lancedb-icon-gray.svg","href":"/enterprise/v1-14-0"},{"title":"LanceDB Embedded","sidebarTitle":"LanceDB Embedded","icon":"cube","href":"/enterprise/v1-14-0/basics/lancedb-embedded"},{"title":"LanceDB Enterprise","sidebarTitle":"LanceDB Enterprise","icon":"server","href":"/enterprise/v1-14-0/enterprise/index"},{"title":"Embedded vs Enterprise","sidebarTitle":"Embedded vs Enterprise","icon":"scale-balanced","href":"/enterprise/v1-14-0/basics/embedded-vs-enterprise"},{"title":"About this version","icon":"circle-info","href":"/enterprise/v1-14-0/about-this-version"}]},{"group":"Getting Started","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","icon":"rocket","href":"/enterprise/v1-14-0/quickstart"},{"title":"SDKs","sidebarTitle":"SDKs","icon":"code-compare","href":"/enterprise/v1-14-0/basics/sdk"},{"title":"SQL","sidebarTitle":"SQL","icon":"table-list","href":"/enterprise/v1-14-0/basics/sql"},{"title":"Console","sidebarTitle":"Console","icon":"window","href":"/enterprise/v1-14-0/enterprise/console"},{"title":"Import a Hugging Face dataset","icon":"file-import","href":"/enterprise/v1-14-0/enterprise/sql-hugging-face"},{"title":"Agentic skills","sidebarTitle":"Agentic Skills","icon":"robot","href":"/enterprise/v1-14-0/basics/agentic-skills"},{"title":"Support","sidebarTitle":"Support","icon":"circle-question","href":"/enterprise/v1-14-0/deployment/support"}]},{"group":"Concepts","pages":[{"title":"Lance format","sidebarTitle":"Lance Format","icon":"https://mintlify.s3.us-west-1.amazonaws.com/lancedb-bcbb4faf/enterprise/v1-14-0/static/assets/logo/lance-logo-gray.png","href":"/enterprise/v1-14-0/basics/lance"},{"title":"LanceDB Lakehouse","sidebarTitle":"LanceDB Lakehouse","icon":"sitemap","href":"/enterprise/v1-14-0/basics/catalog"},{"title":"Job Framework","sidebarTitle":"Job Framework","icon":"hourglass-half","href":"/enterprise/v1-14-0/basics/jobs"},{"title":"Realtime Engine (RTE)","sidebarTitle":"Realtime Engine (RTE)","icon":"bolt","href":"/enterprise/v1-14-0/tables/realtime-engine"},{"title":"Consistency","sidebarTitle":"Consistency","icon":"water","href":"/enterprise/v1-14-0/tables/consistency"},{"title":"Guarantees","sidebarTitle":"Guarantees","icon":"shield-check","href":"/enterprise/v1-14-0/basics/guarantees"},{"title":"Limits","sidebarTitle":"Limits","icon":"ruler","href":"/enterprise/v1-14-0/basics/limits"},{"title":"Naming rules","sidebarTitle":"Naming Rules","icon":"signature","href":"/enterprise/v1-14-0/basics/naming"}]},{"group":"Data Ingestion","pages":[{"title":"Ingesting data","sidebarTitle":"Overview","icon":"inbox","href":"/enterprise/v1-14-0/ingestion/index"},{"title":"Creating a table","sidebarTitle":"Create Table","icon":"table","href":"/enterprise/v1-14-0/ingestion/create-table"},{"title":"Insert data","sidebarTitle":"Insert","icon":"plus","href":"/enterprise/v1-14-0/ingestion/insert"},{"title":"Update rows","sidebarTitle":"Update","icon":"pen","href":"/enterprise/v1-14-0/ingestion/update"},{"title":"Delete rows","sidebarTitle":"Delete","icon":"trash","href":"/enterprise/v1-14-0/ingestion/delete"},{"title":"RTE Write (Upsert)","sidebarTitle":"RTE Write (Upsert)","icon":"bolt","href":"/enterprise/v1-14-0/ingestion/realtime-write"},{"title":"Define Storage Integration","sidebarTitle":"Define Storage Integration","icon":"cloud","href":"/enterprise/v1-14-0/ingestion/define-storage-integration"},{"title":"Attach Database","sidebarTitle":"Attach Database","icon":"plug","href":"/enterprise/v1-14-0/ingestion/attach-database"},{"title":"Import Datasets","sidebarTitle":"Import Datasets","icon":"file-import","href":"/enterprise/v1-14-0/ingestion/import"},{"title":"Distributed Write","sidebarTitle":"Distributed Write","icon":"upload","href":"/enterprise/v1-14-0/enterprise/distributed-write"},{"title":"Distributed RTE Write","sidebarTitle":"Distributed RTE Write","icon":"bolt","href":"/enterprise/v1-14-0/enterprise/distributed-real-time-write"}]},{"group":"Search","pages":[{"title":"Search","sidebarTitle":"Overview","icon":"list","href":"/enterprise/v1-14-0/search/index"},{"title":"Vector Search","sidebarTitle":"Vector Search","icon":"arrow-up-right-dots","href":"/enterprise/v1-14-0/search/vector-search"},{"title":"Full-Text Search (FTS)","sidebarTitle":"Full-Text Search (FTS)","icon":"book","href":"/enterprise/v1-14-0/search/full-text-search"},{"title":"Hybrid Search","sidebarTitle":"Hybrid Search","icon":"search","href":"/enterprise/v1-14-0/search/hybrid-search"},{"title":"Metadata Filtering in LanceDB","sidebarTitle":"Filtering","icon":"filter","href":"/enterprise/v1-14-0/search/filtering"},{"title":"Reranking Search Results","sidebarTitle":"Reranking","icon":"sort-amount-down","href":"/enterprise/v1-14-0/reranking/index"},{"title":"RTE reads","sidebarTitle":"RTE Read","icon":"magnifying-glass","href":"/enterprise/v1-14-0/search/realtime-read"},{"title":"Distributed RTE Read","sidebarTitle":"Distributed RTE Read","icon":"network-wired","href":"/enterprise/v1-14-0/enterprise/distributed-real-time-read"},{"title":"Distributed Search","sidebarTitle":"Distributed Search","icon":"network-wired","href":"/enterprise/v1-14-0/enterprise/distributed-search"},{"title":"Data Page Cache","sidebarTitle":"Data Page Cache","icon":"database","href":"/enterprise/v1-14-0/enterprise/data-page-cache"},{"title":"Tiered Index Cache","sidebarTitle":"Tiered Index Cache","icon":"layer-group","href":"/enterprise/v1-14-0/enterprise/tiered-index-cache"},{"title":"Cache Prewarm","sidebarTitle":"Cache Prewarm","icon":"fire","href":"/enterprise/v1-14-0/enterprise/cache-prewarm"}]},{"group":"Data Curation","pages":[{"title":"Data curation","sidebarTitle":"Overview","icon":"filter","href":"/enterprise/v1-14-0/curation/index"},{"title":"Inspect Datasets","sidebarTitle":"Inspect Datasets","icon":"database","href":"/enterprise/v1-14-0/curation/inspect-datasets"},{"title":"Create a Function","tag":"Early access","sidebarTitle":"Create Function","icon":"code","href":"/enterprise/v1-14-0/curation/create-function"},{"title":"Choose how to compute a column","sidebarTitle":"Function authoring guidance","icon":"file-code","tag":"Early access","href":"/enterprise/v1-14-0/enterprise/function-authoring"},{"title":"Operate Function workloads","sidebarTitle":"Function Operations","icon":"gears","tag":"Early access","href":"/enterprise/v1-14-0/enterprise/function-operations"},{"title":"Function worker availability","sidebarTitle":"Function Workers","icon":"server","tag":"Early access","href":"/enterprise/v1-14-0/enterprise/deployment/function-workers"},{"title":"Chunk records into multiple rows","sidebarTitle":"Chunking","icon":"diagram-subtask","href":"/enterprise/v1-14-0/curation/chunking"},{"title":"Statistical Sampling","sidebarTitle":"Statistical Sampling","icon":"dice","href":"/enterprise/v1-14-0/curation/statistical-sampling"},{"title":"Selective Sampling","sidebarTitle":"Selective Sampling","icon":"crosshairs","href":"/enterprise/v1-14-0/curation/selective-sampling"},{"title":"Profiling a dataset","sidebarTitle":"Aggregate","icon":"chart-column","href":"/enterprise/v1-14-0/curation/aggregate"},{"title":"Joining datasets","sidebarTitle":"Join","icon":"link","href":"/enterprise/v1-14-0/curation/join"},{"title":"Blob Late Materialization","sidebarTitle":"Blob Late Materialization","icon":"clock","href":"/enterprise/v1-14-0/curation/blob-late-materialization"},{"title":"Distributed Shuffle","sidebarTitle":"Distributed Shuffle","icon":"shuffle","href":"/enterprise/v1-14-0/curation/distributed-shuffle"},{"title":"Ranking","sidebarTitle":"Ranking","icon":"chart-simple","href":"/enterprise/v1-14-0/curation/windowing"},{"title":"Cluster records by index partition","sidebarTitle":"Clustering","icon":"circle-nodes","href":"/enterprise/v1-14-0/curation/clustering"},{"title":"Deduplicate near-duplicate records","sidebarTitle":"Dedupe","icon":"clone","href":"/enterprise/v1-14-0/curation/dedupe"},{"title":"Scope curation to what changed","sidebarTitle":"Changes","icon":"clock-rotate-left","href":"/enterprise/v1-14-0/curation/changes"},{"title":"Create a view","sidebarTitle":"Create View","icon":"eye","href":"/enterprise/v1-14-0/feature-engineering/view"},{"title":"Vend a Secret to a Function","tag":"Early access","sidebarTitle":"Vend Secret","icon":"key","href":"/enterprise/v1-14-0/curation/vend-secret"},{"title":"Download S3 objects with a Function","icon":"cloud-arrow-down","tag":"Early access","href":"/enterprise/v1-14-0/enterprise/function-s3-download"},{"title":"Use Secrets with Python Functions","sidebarTitle":"Secrets walkthrough","icon":"key","tag":"Early access","href":"/enterprise/v1-14-0/enterprise/function-secrets"}]},{"group":"Feature Engineering","pages":[{"title":"Feature engineering","sidebarTitle":"Overview","icon":"layer-group","href":"/enterprise/v1-14-0/feature-engineering/index"},{"title":"Create a computed column","sidebarTitle":"Create Computed Column","icon":"table-columns","href":"/enterprise/v1-14-0/feature-engineering/add-computed-column"},{"title":"Refresh a computed column","sidebarTitle":"Refresh Computed Column","icon":"arrows-rotate","href":"/enterprise/v1-14-0/feature-engineering/refresh-column"},{"title":"Create a materialized view","sidebarTitle":"Create Materialized View","icon":"table","href":"/enterprise/v1-14-0/feature-engineering/materialized-views"},{"title":"Refresh a materialized view","sidebarTitle":"Refresh Materialized View","icon":"arrows-rotate","href":"/enterprise/v1-14-0/feature-engineering/refresh-materialized-view"},{"title":"Incremental Refresh","sidebarTitle":"Incremental Refresh","icon":"arrow-rotate-right","href":"/enterprise/v1-14-0/enterprise/incremental-refresh"},{"title":"Auto Refresh","sidebarTitle":"Auto Refresh","icon":"clock-rotate-left","href":"/enterprise/v1-14-0/enterprise/auto-refresh"},{"title":"Function Refresh Checkpointing","tag":"Early access","sidebarTitle":"Checkpointing","icon":"floppy-disk","href":"/enterprise/v1-14-0/enterprise/checkpointing"},{"title":"Adaptive Execution","tag":"Early access","sidebarTitle":"Adaptive Execution","icon":"gauge-high","href":"/enterprise/v1-14-0/enterprise/adaptive-execution"},{"group":"Geneva","icon":"layer-group","pages":[{"title":"Multimodal Feature Engineering with Geneva","sidebarTitle":"Overview","icon":"layer-group","href":"/enterprise/v1-14-0/geneva/index"},{"title":"What is Feature Engineering?","sidebarTitle":"What is feature engineering?","icon":"grip-horizontal","href":"/enterprise/v1-14-0/geneva/overview/index"},{"title":"Getting Started","sidebarTitle":"Getting Started","icon":"rocket","href":"/enterprise/v1-14-0/geneva/getting-started"},{"group":"Transforms","pages":[{"title":"Understanding Transforms","sidebarTitle":"Understanding Transforms","icon":"code-compare","href":"/enterprise/v1-14-0/geneva/udfs/index"},{"title":"User-Defined Functions (UDFs)","sidebarTitle":"UDFs","icon":"function","href":"/enterprise/v1-14-0/geneva/udfs/udfs"},{"title":"Chunkers (Scalar UDTFs)","sidebarTitle":"Chunkers","icon":"diagram-subtask","href":"/enterprise/v1-14-0/geneva/udfs/scalar-udtfs"},{"title":"Batch User-Defined Table Functions (UDTFs)","sidebarTitle":"Batch UDTFs","icon":"layer-group","href":"/enterprise/v1-14-0/geneva/udfs/batch-udtfs"},{"title":"Error Handling in Geneva UDFs","sidebarTitle":"Error Handling","icon":"exclamation","href":"/enterprise/v1-14-0/geneva/udfs/error_handling"},{"title":"Profiling Stateful UDF Memory","sidebarTitle":"Profiling Memory","icon":"chart-line","href":"/enterprise/v1-14-0/geneva/udfs/profiling-memory"},{"title":"Blob Types in Geneva UDFs","sidebarTitle":"Blobs","icon":"splotch","href":"/enterprise/v1-14-0/geneva/udfs/blobs"}]},{"group":"Built-in Transforms","pages":[{"title":"Built-in LLM and Embedding UDFs","sidebarTitle":"Overview","icon":"sparkles","href":"/enterprise/v1-14-0/geneva/udfs/providers/index"},{"title":"OpenAI","sidebarTitle":"OpenAI","icon":"brain","href":"/enterprise/v1-14-0/geneva/udfs/providers/openai"},{"title":"Gemini","sidebarTitle":"Gemini","icon":"google","href":"/enterprise/v1-14-0/geneva/udfs/providers/gemini"},{"title":"Sentence Transformers","sidebarTitle":"Sentence Transformers","icon":"microchip","href":"/enterprise/v1-14-0/geneva/udfs/providers/sentence-transformers"}]},{"group":"Running Jobs","pages":[{"title":"Geneva Jobs","sidebarTitle":"Job execution","href":"/enterprise/v1-14-0/geneva/jobs/index"},{"title":"Backfilling","sidebarTitle":"Backfilling","icon":"fill","href":"/enterprise/v1-14-0/geneva/jobs/backfilling"},{"title":"Bulk Loading \u0026 Updating Columns","sidebarTitle":"Bulk Load / Update Columns","icon":"columns-3","href":"/enterprise/v1-14-0/geneva/jobs/bulk-load-columns"},{"title":"Materialized Views with UDFs","sidebarTitle":"Materialized views","icon":"microscope","href":"/enterprise/v1-14-0/geneva/jobs/materialized-views"},{"title":"Advanced Job Configuration","sidebarTitle":"Advanced job configuration","icon":"sliders","href":"/enterprise/v1-14-0/geneva/jobs/advanced-job-configuration"},{"title":"Job Lifecycle","sidebarTitle":"Job Lifecycle","icon":"arrows-spin","href":"/enterprise/v1-14-0/geneva/jobs/lifecycle"},{"title":"Backfill Conflicts","sidebarTitle":"Backfill Conflicts","icon":"code-merge","href":"/enterprise/v1-14-0/geneva/jobs/conflicts"},{"title":"Distributed Job Performance and Cluster Sizing","sidebarTitle":"Performance and Sizing","icon":"chart-line","href":"/enterprise/v1-14-0/geneva/jobs/performance"},{"title":"Job Metrics (Diagnostics)","sidebarTitle":"Job Metrics","icon":"chart-simple","href":"/enterprise/v1-14-0/geneva/jobs/job_metrics"},{"title":"Geneva Console","sidebarTitle":"Console","icon":"computer","href":"/enterprise/v1-14-0/geneva/jobs/console"},{"title":"Troubleshooting Geneva Jobs","sidebarTitle":"Job troubleshooting","icon":"wrench","href":"/enterprise/v1-14-0/geneva/jobs/troubleshooting"},{"title":"Advanced Execution Contexts","sidebarTitle":"Advanced execution contexts","icon":"circle-nodes","href":"/enterprise/v1-14-0/geneva/jobs/contexts"}]},{"group":"Deployment","pages":[{"title":"Deploy Geneva using Helm","sidebarTitle":"Helm Deployment","icon":"cogs","href":"/enterprise/v1-14-0/geneva/deployment/helm"},{"title":"Job and Session Startup Optimizations","sidebarTitle":"Startup optimizations","description":"Learn how to optimize Geneva job and session startup times for faster interactive development and production workflows.","icon":"engine","href":"/enterprise/v1-14-0/geneva/jobs/startup"},{"title":"Dependency Verification","sidebarTitle":"Dependency Verification","icon":"magnifying-glass-chart","href":"/enterprise/v1-14-0/geneva/deployment/dependency-verification"},{"title":"Advanced Configuration","sidebarTitle":"Advanced Configuration","description":"Learn about environment variables for configuring Geneva behavior.","icon":"flask-gear","href":"/enterprise/v1-14-0/geneva/udfs/advanced-configuration"},{"title":"Manual Deployment on Kubernetes","sidebarTitle":"Manual Deployment","icon":"cogs","href":"/enterprise/v1-14-0/geneva/deployment/index"},{"title":"Troubleshooting Geneva Deployments","sidebarTitle":"Deployment Troubleshooting","icon":"question-circle","href":"/enterprise/v1-14-0/geneva/deployment/troubleshooting"}]},{"title":"End-to-End Example","sidebarTitle":"End-to-end example","icon":"play","href":"/enterprise/v1-14-0/geneva/end-to-end"},{"title":"Geneva Python SDK","icon":"python","href":"/enterprise/v1-14-0/geneva/reference"}]}]},{"group":"Training","pages":[{"title":"PyTorch Data Loader","sidebarTitle":"PyTorch Data Loader","icon":"boxes-stacked","href":"/enterprise/v1-14-0/training/data-loading"},{"title":"Training Cache","sidebarTitle":"Training Cache","icon":"gauge-high","href":"/enterprise/v1-14-0/training/training-cache"},{"title":"Permutation","sidebarTitle":"Permutation","icon":"shuffle","href":"/enterprise/v1-14-0/training/permutation"},{"title":"Observability","sidebarTitle":"Observability","icon":"gauge","href":"/enterprise/v1-14-0/training/observability"},{"title":"Distributed Training","sidebarTitle":"Distributed Training","icon":"server","href":"/enterprise/v1-14-0/training/distributed-training"},{"title":"Checkpointing","sidebarTitle":"Checkpointing","icon":"floppy-disk","href":"/enterprise/v1-14-0/training/checkpointing"},{"title":"Resuming","sidebarTitle":"Resuming","icon":"rotate-left","href":"/enterprise/v1-14-0/training/resuming"}]},{"group":"Management","pages":[{"title":"Management","sidebarTitle":"Overview","icon":"folder-tree","href":"/enterprise/v1-14-0/management/index"},{"title":"Catalog","sidebarTitle":"Catalog","icon":"sitemap","href":"/enterprise/v1-14-0/management/catalog"},{"title":"Database","sidebarTitle":"Database","icon":"database","href":"/enterprise/v1-14-0/management/database"},{"title":"Namespaces","sidebarTitle":"Namespace","icon":"folder-tree","href":"/enterprise/v1-14-0/management/namespace"},{"title":"Tables","sidebarTitle":"Table","icon":"table","href":"/enterprise/v1-14-0/management/table"},{"title":"Compress Function output columns","icon":"compress","href":"/enterprise/v1-14-0/enterprise/function-column-compression"},{"title":"Views","sidebarTitle":"View","icon":"eye","href":"/enterprise/v1-14-0/management/view"},{"title":"Materialized view","sidebarTitle":"Materialized View","icon":"table","href":"/enterprise/v1-14-0/management/materialized-view"},{"title":"Secret","tag":"Early access","sidebarTitle":"Secret","icon":"key","href":"/enterprise/v1-14-0/management/secret"},{"title":"Functions","tag":"Early access","sidebarTitle":"Function","icon":"code","href":"/enterprise/v1-14-0/management/function"},{"title":"Handle Function failures","sidebarTitle":"Function Failures","icon":"triangle-exclamation","tag":"Early access","href":"/enterprise/v1-14-0/management/function-failures"},{"title":"Storage Integration","sidebarTitle":"Storage Integration","icon":"cloud","href":"/enterprise/v1-14-0/management/storage-integration"}]},{"group":"Maintenance","pages":[{"title":"Indexing Data","sidebarTitle":"Overview","icon":"list","href":"/enterprise/v1-14-0/indexing/index"},{"title":"Intelligent Auto-Maintenance","sidebarTitle":"Intelligent Auto-Maintenance","icon":"brain","href":"/enterprise/v1-14-0/enterprise/intelligent-auto-maintenance"},{"title":"Vector Indexing","sidebarTitle":"Vector Indexing","icon":"arrow-up-right-dots","href":"/enterprise/v1-14-0/indexing/vector-index"},{"title":"Full-Text Search (FTS) Indexing","sidebarTitle":"FTS Indexing","icon":"book","href":"/enterprise/v1-14-0/indexing/fts-index"},{"title":"Scalar Indexing","sidebarTitle":"Scalar Indexing","icon":"tree","href":"/enterprise/v1-14-0/indexing/scalar-index"},{"title":"Incremental Indexing","sidebarTitle":"Incremental Indexing","icon":"refresh","href":"/enterprise/v1-14-0/indexing/incremental-indexing"},{"title":"Distributed Indexing","sidebarTitle":"Distributed Indexing","icon":"layer-group","href":"/enterprise/v1-14-0/enterprise/distributed-indexing"},{"title":"GPU Indexing","sidebarTitle":"GPU Indexing","icon":"microchip","href":"/enterprise/v1-14-0/indexing/gpu-indexing"},{"title":"Compaction and cleanup","sidebarTitle":"Compaction","icon":"broom","href":"/enterprise/v1-14-0/maintenance/compaction"},{"title":"Realtime Engine compaction","sidebarTitle":"RTE Compaction","icon":"compress","href":"/enterprise/v1-14-0/enterprise/realtime-engine-compaction"},{"title":"Distributed Compaction","sidebarTitle":"Distributed Compaction","icon":"compress","href":"/enterprise/v1-14-0/enterprise/distributed-compaction"},{"title":"Advanced Conflict Resolution","sidebarTitle":"Advanced Conflict Resolution","icon":"shuffle","href":"/enterprise/v1-14-0/enterprise/advanced-conflict-resolution"},{"title":"Garbage Collection","sidebarTitle":"Garbage Collection","icon":"broom","href":"/enterprise/v1-14-0/maintenance/cleanup"}]},{"group":"Security","pages":[{"title":"Authentication","sidebarTitle":"Authentication","icon":"key","href":"/enterprise/v1-14-0/enterprise/authentication"},{"title":"Authorization","sidebarTitle":"Authorization","icon":"shield-halved","href":"/enterprise/v1-14-0/governance/authorization"},{"title":"Principals","sidebarTitle":"Principals","icon":"user","href":"/enterprise/v1-14-0/governance/principals"},{"title":"Privileges","sidebarTitle":"Privileges","icon":"key","href":"/enterprise/v1-14-0/governance/privileges"},{"title":"Audit Log","sidebarTitle":"Audit Log","icon":"clipboard-list","href":"/enterprise/v1-14-0/governance/audit-log"},{"title":"Compliance","sidebarTitle":"Compliance","icon":"shield-alt","href":"/enterprise/v1-14-0/enterprise/security"}]},{"group":"Deployment","pages":[{"title":"Horizontal Scaling","sidebarTitle":"Horizontal Scaling","icon":"arrows-left-right","href":"/enterprise/v1-14-0/enterprise/horizontal-scaling"},{"title":"Monitor LanceDB with OpenTelemetry","sidebarTitle":"OpenTelemetry","icon":"chart-line","href":"/enterprise/v1-14-0/deployment/opentelemetry"},{"title":"Kubernetes deployment guide","sidebarTitle":"Kubernetes","icon":"cloud","href":"/enterprise/v1-14-0/enterprise/deployment/kubernetes"},{"title":"Multicloud","sidebarTitle":"Multicloud","icon":"cloud","href":"/enterprise/v1-14-0/deployment/multicloud"},{"title":"Slurm","sidebarTitle":"Slurm","icon":"server","href":"/enterprise/v1-14-0/deployment/slurm"}]},{"group":"SQL Reference","pages":[{"title":"SQL reference","sidebarTitle":"Overview","icon":"table-list","href":"/enterprise/v1-14-0/sql/index"},{"title":"SQL identifiers and strings","sidebarTitle":"Identifier quoting","icon":"code","href":"/enterprise/v1-14-0/sql/identifiers"},{"title":"Catalog listing pagination","icon":"list-ol","href":"/enterprise/v1-14-0/sql/pagination"},{"title":"SQL data types","sidebarTitle":"Data Types","icon":"shapes","href":"/enterprise/v1-14-0/sql/data-types"},{"group":"DDL","icon":"sitemap","pages":[{"title":"Database","sidebarTitle":"Database","icon":"database","href":"/enterprise/v1-14-0/sql/ddl/database"},{"title":"Namespace","sidebarTitle":"Namespace","icon":"folder-tree","href":"/enterprise/v1-14-0/sql/ddl/namespace"},{"title":"Table","sidebarTitle":"Table","icon":"table","href":"/enterprise/v1-14-0/sql/ddl/table"},{"title":"View","sidebarTitle":"View","icon":"eye","href":"/enterprise/v1-14-0/sql/ddl/view"},{"title":"Materialized View","sidebarTitle":"Materialized View","icon":"table","href":"/enterprise/v1-14-0/sql/ddl/materialized-view"},{"title":"Secret","tag":"Early access","sidebarTitle":"Secret","icon":"key","href":"/enterprise/v1-14-0/sql/ddl/secret"},{"title":"Function","tag":"Early access","sidebarTitle":"Function","icon":"function","href":"/enterprise/v1-14-0/sql/ddl/function"},{"title":"Storage Integration","sidebarTitle":"Storage Integration","icon":"cloud","href":"/enterprise/v1-14-0/sql/ddl/storage-integration"},{"title":"Index","sidebarTitle":"Index","icon":"bolt","href":"/enterprise/v1-14-0/sql/ddl/index"},{"title":"Job","sidebarTitle":"Job","icon":"hourglass-half","href":"/enterprise/v1-14-0/sql/ddl/job"},{"title":"Grant","sidebarTitle":"Grant","icon":"user-lock","href":"/enterprise/v1-14-0/sql/ddl/grant"}]},{"group":"DML","icon":"database","pages":[{"title":"Insert","sidebarTitle":"Insert","icon":"plus","href":"/enterprise/v1-14-0/sql/dml/insert"},{"title":"Update","sidebarTitle":"Update","icon":"pen","href":"/enterprise/v1-14-0/sql/dml/update"},{"title":"Delete","sidebarTitle":"Delete","icon":"trash","href":"/enterprise/v1-14-0/sql/dml/delete"},{"title":"Copy","sidebarTitle":"Copy","icon":"file-export","href":"/enterprise/v1-14-0/sql/dml/copy"},{"title":"REFRESH COLUMN","sidebarTitle":"REFRESH COLUMN","icon":"arrows-rotate","href":"/enterprise/v1-14-0/sql/dml/refresh-column"},{"title":"REFRESH MATERIALIZED VIEW","sidebarTitle":"REFRESH MATERIALIZED VIEW","icon":"arrows-rotate","href":"/enterprise/v1-14-0/sql/dml/refresh-materialized-view"},{"title":"REFRESH","sidebarTitle":"REFRESH","icon":"arrows-rotate","href":"/enterprise/v1-14-0/sql/dml/refresh"}]},{"group":"DQL","icon":"filter","pages":[{"title":"SELECT","sidebarTitle":"SELECT","icon":"table-columns","href":"/enterprise/v1-14-0/sql/dql/select"},{"title":"Subqueries","sidebarTitle":"Subqueries","icon":"code-branch","href":"/enterprise/v1-14-0/sql/dql/subqueries"},{"title":"Joins","sidebarTitle":"Joins","icon":"link","href":"/enterprise/v1-14-0/sql/dql/join"},{"title":"Operators and literals","sidebarTitle":"Operators","icon":"plus-minus","href":"/enterprise/v1-14-0/sql/dql/operators"},{"title":"Functions","sidebarTitle":"Functions","icon":"function","href":"/enterprise/v1-14-0/sql/dql/functions"},{"title":"Enterprise SQL function index","sidebarTitle":"Enterprise functions","icon":"square-root-variable","href":"/enterprise/v1-14-0/sql-reference/functions-all"},{"title":"Scalar functions","sidebarTitle":"Scalar Functions","icon":"calculator","href":"/enterprise/v1-14-0/sql/dql/scalar-functions"},{"title":"Aggregation","sidebarTitle":"Aggregation","icon":"layer-group","href":"/enterprise/v1-14-0/sql/dql/aggregation"},{"title":"Window functions","sidebarTitle":"Window Functions","icon":"chart-simple","href":"/enterprise/v1-14-0/sql/dql/window"},{"title":"Random sampling","sidebarTitle":"Sampling","icon":"dice","href":"/enterprise/v1-14-0/sql/dql/sampling"},{"title":"Changes since a version","sidebarTitle":"Changes","icon":"clock-rotate-left","href":"/enterprise/v1-14-0/sql/dql/changes"},{"title":"Full-Text Search","sidebarTitle":"Full-Text Search","icon":"magnifying-glass","href":"/enterprise/v1-14-0/sql/dql/fts"},{"title":"CONTAINS_TOKENS","sidebarTitle":"CONTAINS_TOKENS","icon":"magnifying-glass","href":"/enterprise/v1-14-0/sql/dql/contains-tokens"},{"title":"IVF_PARTITION","sidebarTitle":"IVF_PARTITION","icon":"circle-nodes","href":"/enterprise/v1-14-0/sql/dql/ivf-partition"},{"title":"DEDUPE","sidebarTitle":"DEDUPE","icon":"layer-group","href":"/enterprise/v1-14-0/sql/dql/dedupe"},{"title":"DUPLICATE_PAIRS","sidebarTitle":"DUPLICATE_PAIRS","icon":"clone","href":"/enterprise/v1-14-0/sql/dql/duplicate-pairs"},{"title":"MinHash SQL functions","href":"/enterprise/v1-14-0/enterprise/sql-minhash"},{"title":"Vector distance functions","sidebarTitle":"Vector Distance","icon":"ruler","href":"/enterprise/v1-14-0/sql/dql/vector-distance"},{"title":"BLOB_DESCRIPTOR","sidebarTitle":"BLOB_DESCRIPTOR","icon":"file-binary","href":"/enterprise/v1-14-0/sql/dql/blob-descriptor"},{"title":"GENERATE_SERIES","sidebarTitle":"GENERATE_SERIES","icon":"list-ol","href":"/enterprise/v1-14-0/sql/dql/generate-series"},{"title":"Explain","sidebarTitle":"Explain","icon":"map","href":"/enterprise/v1-14-0/sql/dql/explain"}]}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/enterprise/v1-14-0/integrations"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/enterprise/v1-14-0/tutorials"}]},{"tab":"Demos","pages":[{"title":"Demos","href":"/enterprise/v1-14-0/demos"}]},{"tab":"Datasets","pages":[{"title":"Datasets","href":"/enterprise/v1-14-0/datasets"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/enterprise/v1-14-0/api-reference/rest"}]}]},{"version":"1.13.0","pages":[{"title":"1.13.0","href":"/enterprise/v1-13-0/geneva/deployment/dependency-verification"}]},{"version":"1.12.0","pages":[{"title":"1.12.0","href":"/enterprise/v1-12-0/geneva/deployment/dependency-verification"}]}]},{"product":"Embedded","icon":"database","description":"Open-source library","pages":[{"title":"Embedded","href":"/oss/v0-41-0"}]}]},"basePath":"","title":"Dependency Verification - LanceDB","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":["10e4515597"],"chunks":["BannerMarkdown-DnSAhvaM.js","dist-DIfYWxfm.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}