AI-Hypercomputer / AI-Hypercomputer/maxdiffusion

[Bug]: CI Workflow fails due to pyink version mismatch between setup.sh and GitHub Actions

未關閉
#343 1 則留言 0 個 reaction 已指派 1 人 已被 @michelle-yooh 認領 在 GitHub 檢視
主要語言
Python
星號
386
分支
93
平均合併
8 天 17 小時
30 天內合併 PR
8

描述

## Describe the bug

Currently, there is a version mismatch for `pyink` between the local developer setup and the GitHub Actions workflow ([CPUTests.yml](https://github.com/AI-Hypercomputer/maxdiffusion/blob/main/.github/workflows/CPUTests.yml)).

The `setup.sh` script installs the latest version of `pyink` (currently 25.12.0), while the GitHub workflow strictly enforces `pyink==23.10.0`. As a result, when developers format their code locally using the setup script's version, the CI/CD pipeline fails during the formatting check because it evaluates the code against the older version.

## To Reproduce

Steps to reproduce the behavior:

- Run `bash setup.sh MODE=stable DEVICE=tpu` locally (installs `pyink>=25.12.0`).
- Format the codebase locally using the installed `pyink`.
- Push the changes to a PR.

The GitHub workflow fails on the formatting check because it expects formatting from `pyink==23.10.0`.

## Expected behavior

The version of `pyink` used locally should perfectly match the version enforced by the CI pipeline to prevent unnecessary build failures and contributor friction.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。