sometimes execution takes a lot of time to respond and causes failure
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- apache, django, python, ubuntu
- Lĩnh vực
- ai, backend, devops, performance
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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))
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 2.4k
- Fork
- 338
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Stability-AI/stability-sdk
-
Broken link on readmeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 45/100
Stability-AI/stability-sdk#319 ·
-
Teste 01Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
Stability-AI/stability-sdk#317 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
Stability-AI/stability-sdk#297 · 2 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Stability-AI/stability-sdk#294 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Stability-AI/stability-sdk#284 ·
Tất cả issue của Stability-AI/stability-sdk
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
anomalyco/models.dev#8509 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
tintinweb/pi-subagents#368 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
comp/cron P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
NousResearch/hermes-agent#129609 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
deepset-ai/haystack#13046 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
code-yeongyu/senpi#2456 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày