sometimes execution takes a lot of time to respond and causes failure
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- apache, django, python, ubuntu
- 領域
- ai, backend, devops, performance
調査の方向性
Start with the Django code shown in the issue, especially StabilityInference.generate with steps=25 and samples=2, and review how it runs behind Apache on Ubuntu. Reproduce or measure the delayed image generation and internal server failure. Done means the cause is identified and the deployment or request handling no longer leaves the server unresponsive for ten minutes.
索引モデルが issue の本文から書いたものです。
説明
Hi,
Good day. Thank you for this fantastic tool.
we're using your package https://github.com/Stability-AI/stability-sdk (stability-sdk version: 0.2.4) in our Django project on the ubuntu virtual machine using the apache2 webserver but sometimes when we try to generate the image then it takes much time to generate and also sometimes execution takes a lot of time that causes the internal server error and our server not responding for the next 10 minutes
can you explain why it's happened and how to avoid it?
stability_api = client.StabilityInference(key=settings.AI_IMAGE_API_KEY, verbose=True,)
answers = stability_api.generate(prompt=title, seed=34632, steps=25, samples=2,)
for resp in answers:
for artifact in resp.artifacts:
if artifact.finish_reason == generation.FILTER:
return Response({"message":"Please modify the prompt and try again"},status=status.HTTP_400_BAD_REQUEST)
if artifact.type == generation.ARTIFACT_IMAGE:
im = Image.open(BytesIO(artifact.binary))
- 主要言語
- Jupyter Notebook
- スター
- 2.4k
- フォーク
- 336
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Stability-AI/stability-sdk のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
Stability-AI/stability-sdk#319 ·
-
Teste 01オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
Stability-AI/stability-sdk#317 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
Stability-AI/stability-sdk#297 · コメント 2 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Stability-AI/stability-sdk#294 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
Stability-AI/stability-sdk#284 ·
Stability-AI/stability-sdk の issue をすべて見る
似ている issue
-
[Bug]: A tool file with meta mime_type=None crashes agent file extraction with a ValidationError対応中かも @GYJ99 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
langgenius/dify#45086 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
agno-agi/agno#11386 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
miqdadbadjuber/anti-slop#54 ·
メンテナーはふだん 2 日以内に返信
-
Grok 4.7 section 8 cites 353 reasoning tokens "committed below", but the committed output says 327オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
aws-samples/sample-per-model-bedrock#615 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
ComposioHQ/awesome-claude-skills#2391 ·
メンテナーはふだん 2 日以内に返信