Better document the impact of data dtype on performance

Đang mở
#992 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
numpy, python
Lĩnh vực
documentation

Hướng nghiên cứu

Start by locating the napari documentation pages that explain image data and performance, then trace how Layer.data reaches the displayed GPU texture as suggested in the issue. Document the supported dtypes, when other dtypes are coerced during slicing, and the performance impact; done means users can find this guidance and understand the implications for large slices.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

documentation task

🧰 Task

Our vispy/gpu pipeline only supports int8, uint8, int16, uint16, float32, other dtypes get coerced during slicing.
This has a pretty significant performance implication for large slices of e.g. float64 or in64 data.
See also: https://github.com/napari/napari/issues/1300#issuecomment-4274666208

Importantly, many numpy functions can produce float64 or int64 by default, triggering this issue.

We should raise more awareness of this in the documentation and possibly add an in-depth look at the data handling pipeline from Layer.data to the displayed gpu texture.

Ngôn ngữ chính
Makefile
Star
13
Fork
71
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
31

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của napari/docs

Tất cả issue của napari/docs

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.