So based off that i made the binary wheel script part for no reason. Oh
well.
This commit is contained in:
parent
422f0a80a2
commit
2484a750bb
1 changed files with 5 additions and 24 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
# fetchPypi,
|
||||
hatchling,
|
||||
poetry-core,
|
||||
|
||||
|
|
@ -53,7 +52,6 @@
|
|||
py-cpuinfo,
|
||||
seaborn,
|
||||
albumentations,
|
||||
distutils,
|
||||
transformers,
|
||||
accelerate,
|
||||
ultralytics,
|
||||
|
|
@ -83,7 +81,6 @@ let
|
|||
fast-langdetect
|
||||
mineru-vl-utils
|
||||
qwen-vl-utils
|
||||
# thop
|
||||
httpx-retries
|
||||
robust-downloader
|
||||
doclayout-yolo
|
||||
|
|
@ -267,18 +264,18 @@ in
|
|||
tqdm
|
||||
psutil
|
||||
py-cpuinfo
|
||||
ultralytics-thop
|
||||
pandas
|
||||
seaborn
|
||||
albumentations
|
||||
huggingface-hub
|
||||
]
|
||||
++ [
|
||||
ultralytics-thop # thop
|
||||
];
|
||||
postInstall = ''
|
||||
# avoid buildEnv collisions with ultralytics' YOLO CLI wrappers
|
||||
rm -f "$out/bin/yolo"
|
||||
rm -f "$out/bin/yolo" # collision with $'{pkgs.python3Packages.ultralytics}/bin/.yolo-wrapped
|
||||
'';
|
||||
pythonRelaxDeps = [
|
||||
# satisfied by ultralytics-thop (module), but dist name differs
|
||||
"thop"
|
||||
];
|
||||
pythonRemoveDeps = [
|
||||
|
|
@ -289,23 +286,7 @@ in
|
|||
license = lib.licenses.agpl3Only;
|
||||
};
|
||||
};
|
||||
# thop = {
|
||||
# url = "https://pypi.org/project/thop/0.1.1.post2209072238/";
|
||||
# force = {
|
||||
# format = "wheel";
|
||||
# python = "py3";
|
||||
# dist = "py3";
|
||||
# };
|
||||
# hash = "sha256-AUc8IlIxkn0q1xg1H3jr98/+avO+1GTE8boe8PfN2ic=";
|
||||
# propagatedBuildDeps = [
|
||||
# distutils
|
||||
# torch
|
||||
# ];
|
||||
# meta = {
|
||||
# description = "Count the MACs / FLOPs of your PyTorch model.";
|
||||
# license = lib.licenses.mit;
|
||||
# };
|
||||
# };
|
||||
# thop = { url = "use ultralytics-thop instead"; };
|
||||
qwen-vl-utils = {
|
||||
url = "https://github.com/QwenLM/Qwen3-VL/tree/fe12058/qwen-vl-utils";
|
||||
hash = "sha256-Vha/Tc4q2v5RCL31hB9U4ZrfIFxfZjgwM6PYlvDeoAQ=";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue