pytorch / torchchat

Run PyTorch LLMs locally on servers, desktop and mobile
BSD 3-Clause "New" or "Revised" License
3.4k stars 225 forks source link

fix: add SIGINT handler #1352

Closed leseb closed 2 weeks ago

leseb commented 3 weeks ago

a6dcfc59 fix: add SIGINT handler

commit a6dcfc59b3fa5f16b207f3cf38aee5d8f18a08e9 Author: Sébastien Han seb@redhat.com Date: Thu Nov 7 14:18:21 2024 +0100

fix: add SIGINT handler

Setup a SIGINT handler to gracefully exit the program once the user
presses ctrl+c.

Signed-off-by: Sébastien Han <seb@redhat.com>
pytorch-bot[bot] commented 3 weeks ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/1352

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

:white_check_mark: No Failures

As of commit e1c87cd1629b1c9771b41ca366724ad5b8409de3 with merge base 2fcc37c665a8a3272e2ec873678c728c62071b35 (image): :green_heart: Looks good so far! There are no failures yet. :green_heart:

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

facebook-github-bot commented 3 weeks ago

Hi @leseb!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

leseb commented 3 weeks ago

CLA in-progress.