GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: Pin CPU-only torch and bound floating dependencies by patelchaitany · Pull Request #6825 · feast-dev/feast

ci: Pin CPU-only torch and bound floating dependencies #6825

New issue

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

Sign up for GitHub

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

Already on GitHub? Sign in to your account

Merged
ntkathole merged 4 commits into feast-dev:master from patelchaitany:ci/pytorch-cpu-index
Sep 15, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

ci: Pin CPU-only torch and bound floating dependencies #6825

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4 commits
Select commit Hold shift + click to select a range
d4aaf2e
ci: Pin CPU-only torch and bound floating dependencies
patelchaitany Sep 12, 2026
b822644
fix: Drop the redundant pyarrow upper bound
patelchaitany Sep 12, 2026
62be17a
fix: Keep numpy dtypes coming out of the Ray offline store
patelchaitany Sep 14, 2026
113f31a
chore: Drop the mlflow upper bound
patelchaitany Sep 15, 2026
File filter
Filter by extension


Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view

There are no files selected for viewing

15 changes: 6 additions & 9 deletions 15 Makefile
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,10 @@ install-python-dependencies-ci: ## Install Python CI dependencies using uv pip s
echo "Creating virtualenv..."; \
uv venv .venv; \
fi
# Install CPU-only torch first to prevent CUDA dependency issues (Linux only)
@if [ "$$(uname -s)" = "Linux" ]; then \
echo "Installing dependencies with torch CPU index for Linux..."; \
uv pip sync --torch-backend cpu sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt; \
else \
echo "Installing dependencies from PyPI for macOS..."; \
uv pip sync sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt; \
fi
# Must match the --torch-backend used to compile the CI lock, otherwise the
# recorded CPU-wheel hashes (from download.pytorch.org) fail to verify.
# The lock is universal, so one command serves both Linux and macOS.
uv pip sync --torch-backend cpu sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt
uv pip install --no-deps -e .

# Used in github actions/ci
Expand All @@ -139,7 +135,8 @@ lock-python-dependencies-all: ## Recompile and lock all Python dependency sets f
rm -rf sdk/python/requirements/* 2>/dev/null || true
$(foreach ver,$(PYTHON_VERSIONS),\
pixi run --environment $(call get_env_name,$(ver)) --manifest-path infra/scripts/pixi/pixi.toml \
"uv pip compile -p $(ver) --no-strip-extras pyproject.toml --extra ci \
"uv pip compile -p $(ver) --universal --no-strip-extras pyproject.toml --extra ci \
--torch-backend cpu \
--generate-hashes --output-file sdk/python/requirements/py$(ver)-ci-requirements.txt" && \
pixi run --environment $(call get_env_name,$(ver)) --manifest-path infra/scripts/pixi/pixi.toml \
"uv pip compile -p $(ver) --no-strip-extras pyproject.toml \
Expand Down
2 changes: 1 addition & 1 deletion 2 infra/scripts/pixi/pixi.toml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ platforms = ["linux-64", "osx-arm64", "osx-64"]
[tasks]

[dependencies]
uv = ">=0.6.3"
uv = ">=0.6.9"

[feature.py39.dependencies]
python = "~=3.9.0"
Expand Down
2 changes: 1 addition & 1 deletion 2 pixi.lock
Show comments
View file
Open in desktop

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

2 changes: 1 addition & 1 deletion 2 pyproject.toml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ snowflake = [
"snowflake-connector-python[pandas]>=3.7,<5",
]
sqlite_vec = ["sqlite-vec==v0.1.6"]
mcp = ["fastapi_mcp", "mcp>=1.0,<2"]
mcp = ["fastapi_mcp", "mcp>=1.0,<1.30"]
mlflow = ["mlflow>=2.10.0"]

dbt = ["dbt-artifacts-parser"]
Expand Down
6 changes: 6 additions & 0 deletions 6 sdk/python/feast/infra/ray_initializer.py
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,8 @@ def _initialize_local_ray(config: Any, enable_logging: bool = False) -> None:
ctx = DatasetContext.get_current()
ctx.shuffle_strategy = "sort" # type: ignore
ctx.enable_tensor_extension_casting = False
if hasattr(ctx, "enable_arrow_backed_pandas_conversion"):
ctx.enable_arrow_backed_pandas_conversion = False

# Log cluster info
if enable_logging:
Expand Down Expand Up @@ -760,6 +762,8 @@ def _initialize_remote_ray(config: Any, enable_logging: bool = False) -> None:
ctx = DatasetContext.get_current()
ctx.shuffle_strategy = "sort" # type: ignore
ctx.enable_tensor_extension_casting = False
if hasattr(ctx, "enable_arrow_backed_pandas_conversion"):
ctx.enable_arrow_backed_pandas_conversion = False

# Log cluster info
if enable_logging:
Expand Down Expand Up @@ -853,6 +857,8 @@ def ensure_ray_initialized(
ctx = DatasetContext.get_current()
ctx.shuffle_strategy = "sort" # type: ignore
ctx.enable_tensor_extension_casting = False
if hasattr(ctx, "enable_arrow_backed_pandas_conversion"):
ctx.enable_arrow_backed_pandas_conversion = False
if not enable_logging:
_suppress_ray_logging()
_ray_initialized = True
Expand Down
758 changes: 684 additions & 74 deletions 758 sdk/python/requirements/py3.10-ci-requirements.txt
Show comments
View file
Open in desktop

Large diffs are not rendered by default.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

370 changes: 298 additions & 72 deletions 370 sdk/python/requirements/py3.11-ci-requirements.txt
Show comments
View file
Open in desktop

Large diffs are not rendered by default.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

449 changes: 318 additions & 131 deletions 449 sdk/python/requirements/py3.12-ci-requirements.txt
Show comments
View file
Open in desktop

Large diffs are not rendered by default.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.