Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[BE] Fix minifier when one has multiple Python runtimes#155918

New issue

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

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

Already on GitHub?Sign in to your account

Closed
malfet wants to merge1 commit intomainfrommalfet-patch-20

Conversation

@malfet
Copy link
Contributor

@malfetmalfet commentedJun 13, 2025
edited by pytorch-botbot
Loading

By usingsys.executable instead of"python"

Otherwise, it fails on Ubuntu withpython not found error

cc@voznesenskym@penguinwu@EikanWang@jgong5@Guobing-Chen@XiaobingSuper@zhuhaozhe@blzheng@wenzhe-nrv@jiayisunx@chenyang78@kadeng@chauhang@amjames

By using `sys.executable` instead of `"python"`Otherwise, it fails on Ubuntu with `python not found` error
@malfetmalfet requested a review fromezyangJune 13, 2025 16:35
@pytorch-bot
Copy link

pytorch-botbot commentedJun 13, 2025
edited
Loading

🔗 Helpful Links

🧪 See artifacts and rendered test results athud.pytorch.org/pr/155918

Note: Links to docs will display an error until the docs builds have been completed.

⏳ 53 Pending, 3 Unrelated Failures

As of commit773429a with merge base338a8c7 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

UNSTABLE - The following jobs are marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@malfet
Copy link
ContributorAuthor

@pytorchbot merge

pytorch-bot[bot] reacted with thumbs up emoji

@pytorch-botpytorch-botbot added the ciflow/trunkTrigger trunk jobs on your pull request labelJun 13, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in thewiki.

Questions? Feedback? Please reach out to thePyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@malfet
Copy link
ContributorAuthor

@pytorchbot merge -f "¯_(ツ)_/¯"

pytorch-bot[bot] reacted with confused emoji

@pytorch-bot
Copy link

You need to provide a reason for using force merge, in the format@pytorchbot merge -f 'Explanation'.
The explanation needs to be clear on why this is needed. Here are some good examples:

  • Bypass checks due to unrelated upstream failures from ...
  • This is a minor fix to ..., which shouldn't break anything
  • This is pre-tested in a previous CI run
  • Bypass flaky ... check

@malfet
Copy link
ContributorAuthor

@pytorchbot merge -f "¯\(ツ)/¯ ¯\(ツ)/¯ ¯\(ツ)/¯ "

pytorch-bot[bot] reacted with thumbs up emoji

@pytorchmergebot
Copy link
Collaborator

The mergejob was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information seepytorch-bot wiki.

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag,bypassing any CI checks (ETA: 1-5 minutes). Please use-f as last resort and instead consider-i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in thewiki.

Questions? Feedback? Please reach out to thePyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@github-actionsgithub-actionsbot deleted the malfet-patch-20 branchJuly 14, 2025 02:23
lingebeng added a commit to lingebeng/pytorch that referenced this pull requestOct 16, 2025
Fix hardcoded python executable path with sys.executableReplace hardcoded "python" string with sys.executable to ensurecorrect Python interpreter is used. This fixes failures on systemswith multiple Python runtimes or where "python" is not in PATH.Similar topytorch#155918
lingebeng added a commit to lingebeng/pytorch that referenced this pull requestOct 16, 2025
Fix hardcoded python executable path with sys.executable  Replace hardcoded "python" string with sys.executable to ensure  correct Python interpreter is used. This fixes failures on systems  with multiple Python runtimes or where "python" is not in PATH.  Similar topytorch#155918
lingebeng added a commit to lingebeng/pytorch that referenced this pull requestOct 16, 2025
Replace hardcoded "python" string with sys.executable to ensurecorrect Python interpreter is used. This fixes failures on systemswith multiple Python runtimes or where "python" is not in PATH.Similar topytorch#155918
pytorchmergebot pushed a commit that referenced this pull requestOct 16, 2025
Replace hardcoded "python" string with sys.executable to ensure correct Python interpreter is used. This fixes failures on systems with multiple Python runtimes or where "python" is not in PATH.Similar to#155918Fixes #ISSUE_NUMBERPull Requestresolved:#165633Approved by:https://github.com/Skylion007
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull requestOct 21, 2025
Replace hardcoded "python" string with sys.executable to ensure correct Python interpreter is used. This fixes failures on systems with multiple Python runtimes or where "python" is not in PATH.Similar topytorch#155918Fixes #ISSUE_NUMBERPull Requestresolved:pytorch#165633Approved by:https://github.com/Skylion007
zhudada0120 pushed a commit to zhudada0120/pytorch that referenced this pull requestOct 22, 2025
Replace hardcoded "python" string with sys.executable to ensure correct Python interpreter is used. This fixes failures on systems with multiple Python runtimes or where "python" is not in PATH.Similar topytorch#155918Fixes #ISSUE_NUMBERPull Requestresolved:pytorch#165633Approved by:https://github.com/Skylion007
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@seemethereseemethereseemethere approved these changes

@ZainRizviZainRizviZainRizvi approved these changes

@zou3519zou3519zou3519 approved these changes

@ezyangezyangAwaiting requested review from ezyang

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@malfet@pytorchmergebot@seemethere@ZainRizvi@zou3519

[8]ページ先頭

©2009-2025 Movatter.jp