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

Store errors in thread status#1263

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

Merged
SilasMarvin merged 1 commit intomasterfromsilas-fix-stderr-logging
Jan 2, 2024
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Store errors in thread status
  • Loading branch information
@SilasMarvin
SilasMarvin committedJan 2, 2024
commitead25a772a798fc8366abbd484645019ab1f59f7
5 changes: 2 additions & 3 deletionspgml-extension/src/bindings/transformers/transformers.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -187,10 +187,9 @@ def streaming_worker(worker_threads, model, **kwargs):
worker_threads.update_thread(thread_id, "Error setting data")
try:
model.generate(**kwargs)
except BaseException as error:
print(f"Error in streaming_worker: {error}", file=sys.stderr)
finally:
worker_threads.delete_thread(thread_id)
except BaseException as error:
worker_threads.update_thread(thread_id, f"Error in streaming_worker: {error}")


class GGMLPipeline(object):
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp