Skip to content

Commit

Permalink
Dependency Manger - additional info for NCNN (chaiNNer-org#2130)
Browse files Browse the repository at this point in the history
Dependency Manger - additional info for NCCN

Also: add an arrow und made the text justified.
  • Loading branch information
stonerl authored Aug 21, 2023
1 parent 489c92c commit 3d763ed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 4 additions & 3 deletions backend/src/packages/chaiNNer_ncnn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
id="chaiNNer_ncnn",
name="NCNN",
description=(
f"{general} NCNN uses Vulkan for GPU"
" acceleration, meaning it supports any modern GPU. Models can be converted"
" from PyTorch to NCNN."
f"{general} Models can be converted from PyTorch to NCNN, which requires ONNX"
" to be installed as well.\n\nNCNN utilizes Vulkan for GPU acceleration,"
" meaning it supports any modern GPU. However, in some cases GPU upscaling"
" may fail, due to NCNN on Vulkan being experimental."
),
dependencies=[
Dependency(
Expand Down
6 changes: 6 additions & 0 deletions src/renderer/contexts/DependencyContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,13 @@ const PackageView = memo(
<Tooltip
closeOnClick
closeOnMouseDown
hasArrow
borderRadius={8}
css={{
textAlign: 'justify',
hyphens: 'auto',
whiteSpace: 'pre-line',
}}
label={p.description}
px={2}
py={1}
Expand Down

0 comments on commit 3d763ed

Please sign in to comment.