Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Conversation

@matthewgraca
Copy link

@matthewgraca matthewgraca commented Jan 18, 2023

Description

From this PR #1011 I saw there are files using conda here that don't have cmake pinned to 3.22.*. Shall we pin them?

Context (why pin cmake to 3.22.*?)

When conda offered cmake version 3.23.0, certain builds would break pytorch/pytorch#74985 (comment). This resulted in the pinning of cmake to a stable version like 3.22 where conda is used pytorch/benchmark#845. Since then, conda has yanked 3.23.0 and is currently on version 3.22.1, so it was then safe to unpin cmake pytorch/pytorch#75705.

Now, it has been decided that it would be best practice to pin cmake to a known stable version, then upgrade in a controlled manner instead of leaving cmake unpinned pytorch/pytorch#91739 (comment). Initially set to 3.22, it has since been relaxed to 3.22.* pytorch/pytorch#90307. We've already pinned cmake to 3.22.* in pytorch/pytorch here pytorch/pytorch#91739 and pytorch/test-infra here pytorch/test-infra#1368.

How is this Tested?

I attempted to follow these instructions to test these changes. The fake PR can be found here pytorch/pytorch#92590.

People with Relevant Context

@huydhn @janeyx99

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants