Skip to content

Make LOCK_TIMEOUT in codecache configurable#165030

Closed
rahul342 wants to merge 1 commit intopytorch:mainfrom
rahul342:export-D84109142
Closed

Make LOCK_TIMEOUT in codecache configurable#165030
rahul342 wants to merge 1 commit intopytorch:mainfrom
rahul342:export-D84109142

Conversation

@rahul342
Copy link
Contributor

@rahul342 rahul342 commented Oct 9, 2025

  • Introduce file_lock_timeout in config (defaults to current value of 600)
  • Use the above config instead of hardcoded 600 config.

This is useful when running stress tests.

Differential Revision:
D84109142

Privacy Context Container: L1297311

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

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 9, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/165030

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

✅ No Failures

As of commit 631b3d4 with merge base f6de195 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 9, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: rahul342 / name: Rahul Agrawal (631b3d4)

@meta-codesync
Copy link

meta-codesync bot commented Oct 9, 2025

@rahul342 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84109142.

@rahul342
Copy link
Contributor Author

rahul342 commented Oct 9, 2025

@pytorchbot label "topic: not user facing"

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Oct 9, 2025
@rahul342 rahul342 changed the title Increase AOTI file lock timeout for stress test runs Make LOCK_TIMEOUT in codecache configurable Oct 9, 2025
Summary: Pull Request resolved: pytorch#165030

Differential Revision:
D84109142

Privacy Context Container: L1297311
@rahul342
Copy link
Contributor Author

rahul342 commented Oct 9, 2025

/easycla

Copy link
Contributor

@hl475 hl475 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 10, 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 the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
- Introduce file_lock_timeout in config (defaults to current value of 600)
- Use the above config instead of hardcoded 600 config.

This is useful when running stress tests.

Differential Revision:
D84109142

Privacy Context Container: L1297311

Pull Request resolved: pytorch#165030
Approved by: https://github.com/hl475
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants