A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "runpy.py", line 187, in _run_module_as_main
File "runpy.py", line 110, in _get_module_details
File "J:\iw3\nunif\waifu2x__init.py", line 1, in
from .utils import Waifu2x
File "J:\iw3\nunif\waifu2x\utils.py", line 5, in
from nunif.transforms.tta import tta_merge, tta_split
File "J:\iw3\nunif\nunif__init.py", line 3, in
from . import transforms
File "J:\iw3\nunif\nunif\transforms\init.py", line 1, in
from .std import (
File "J:\iw3\nunif\nunif\transforms\std.py", line 2, in
from torchvision import transforms as T
File "J:\iw3\python\lib\site-packages\torchvision\init.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "J:\iw3\python\lib\site-packages\torchvision\models\init.py", line 2, in
from .convnext import *
File "J:\iw3\python\lib\site-packages\torchvision\models\convnext.py", line 8, in
from ..ops.misc import Conv2dNormActivation, Permute
File "J:\iw3\python\lib\site-packages\torchvision\ops\init.py", line 1, in
from ._register_onnx_ops import _register_custom_op
File "J:\iw3\python\lib\site-packages\torchvision\ops_register_onnx_ops.py", line 5, in
from torch.onnx import symbolic_opset11 as opset11
File "J:\iw3\python\lib\site-packages\torch\onnx\init__.py", line 59, in
from ._internal.onnxruntime import (
File "J:\iw3\python\lib\site-packages\torch\onnx_internal\onnxruntime.py", line 37, in
import onnxruntime # type: ignore[import]
File "J:\iw3\python\lib\site-packages\onnxruntime\init__.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "J:\iw3\python\lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "runpy.py", line 187, in _run_module_as_main
File "runpy.py", line 110, in _get_module_details
File "J:\iw3\nunif\waifu2x__init.py", line 1, in
from .utils import Waifu2x
File "J:\iw3\nunif\waifu2x\utils.py", line 5, in
from nunif.transforms.tta import tta_merge, tta_split
File "J:\iw3\nunif\nunif__init.py", line 3, in
from . import transforms
File "J:\iw3\nunif\nunif\transforms__init.py", line 1, in
from .std import (
File "J:\iw3\nunif\nunif\transforms\std.py", line 2, in
from torchvision import transforms as T
File "J:\iw3\python\lib\site-packages\torchvision__init.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "J:\iw3\python\lib\site-packages\torchvision\models\init.py", line 2, in
from .convnext import *
File "J:\iw3\python\lib\site-packages\torchvision\models\convnext.py", line 8, in
from ..ops.misc import Conv2dNormActivation, Permute
File "J:\iw3\python\lib\site-packages\torchvision\ops\init__.py", line 23, in
from .poolers import MultiScaleRoIAlign
File "J:\iw3\python\lib\site-packages\torchvision\ops\poolers.py", line 10, in
from .roi_align import roi_align
File "J:\iw3\python\lib\site-packages\torchvision\ops\roi_align.py", line 4, in
import torch._dynamo
File "J:\iw3\python\lib\site-packages\torch_dynamo\init__.py", line 64, in
torch.manual_seed = disable(torch.manual_seed)
File "J:\iw3\python\lib\site-packages\torch_dynamo\decorators.py", line 50, in disable
return DisableContext()(fn)
File "J:\iw3\python\lib\site-packages\torch_dynamo\eval_frame.py", line 410, in call__
(filename is None or trace_rules.check(fn))
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 3378, in check
return check_verbose(obj, is_inlined_call).skipped
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 3361, in check_verbose
rule = torch._dynamo.trace_rules.lookup_inner(
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 3442, in lookup_inner
rule = get_torch_obj_rule_map().get(obj, None)
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 2782, in get_torch_obj_rule_map
obj = load_object(k)
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 2811, in load_object
val = _load_obj_from_str(x[0])
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 2795, in _load_obj_from_str
return getattr(importlib.import_module(module), obj_name)
File "importlib\init__.py", line 126, in import_module
File "J:\iw3\python\lib\site-packages\torch\nested_internal\nested_tensor.py", line 417, in
values=torch.randn(3, 3, device="meta"),
J:\iw3\python\lib\site-packages\torch\nested_internal\nested_tensor.py:417: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
values=torch.randn(3, 3, device="meta"),
A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "runpy.py", line 187, in _run_module_as_main File "runpy.py", line 110, in _get_module_details File "J:\iw3\nunif\waifu2x__init.py", line 1, in
from .utils import Waifu2x
File "J:\iw3\nunif\waifu2x\utils.py", line 5, in
from nunif.transforms.tta import tta_merge, tta_split
File "J:\iw3\nunif\nunif__init.py", line 3, in
from . import transforms
File "J:\iw3\nunif\nunif\transforms\ init.py", line 1, in
from .std import (
File "J:\iw3\nunif\nunif\transforms\std.py", line 2, in
from torchvision import transforms as T
File "J:\iw3\python\lib\site-packages\torchvision\ init.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "J:\iw3\python\lib\site-packages\torchvision\models\ init.py", line 2, in
from .convnext import *
File "J:\iw3\python\lib\site-packages\torchvision\models\convnext.py", line 8, in
from ..ops.misc import Conv2dNormActivation, Permute
File "J:\iw3\python\lib\site-packages\torchvision\ops\ init.py", line 1, in
from ._register_onnx_ops import _register_custom_op
File "J:\iw3\python\lib\site-packages\torchvision\ops_register_onnx_ops.py", line 5, in
from torch.onnx import symbolic_opset11 as opset11
File "J:\iw3\python\lib\site-packages\torch\onnx\ init__.py", line 59, in
from ._internal.onnxruntime import (
File "J:\iw3\python\lib\site-packages\torch\onnx_internal\onnxruntime.py", line 37, in
import onnxruntime # type: ignore[import]
File "J:\iw3\python\lib\site-packages\onnxruntime\ init__.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "J:\iw3\python\lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found
A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "runpy.py", line 187, in _run_module_as_main File "runpy.py", line 110, in _get_module_details File "J:\iw3\nunif\waifu2x__init.py", line 1, in
from .utils import Waifu2x
File "J:\iw3\nunif\waifu2x\utils.py", line 5, in
from nunif.transforms.tta import tta_merge, tta_split
File "J:\iw3\nunif\nunif__init.py", line 3, in
from . import transforms
File "J:\iw3\nunif\nunif\transforms__init.py", line 1, in
from .std import (
File "J:\iw3\nunif\nunif\transforms\std.py", line 2, in
from torchvision import transforms as T
File "J:\iw3\python\lib\site-packages\torchvision__init.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "J:\iw3\python\lib\site-packages\torchvision\models\ init.py", line 2, in
from .convnext import *
File "J:\iw3\python\lib\site-packages\torchvision\models\convnext.py", line 8, in
from ..ops.misc import Conv2dNormActivation, Permute
File "J:\iw3\python\lib\site-packages\torchvision\ops\ init__.py", line 23, in
from .poolers import MultiScaleRoIAlign
File "J:\iw3\python\lib\site-packages\torchvision\ops\poolers.py", line 10, in
from .roi_align import roi_align
File "J:\iw3\python\lib\site-packages\torchvision\ops\roi_align.py", line 4, in
import torch._dynamo
File "J:\iw3\python\lib\site-packages\torch_dynamo\ init__.py", line 64, in
torch.manual_seed = disable(torch.manual_seed)
File "J:\iw3\python\lib\site-packages\torch_dynamo\decorators.py", line 50, in disable
return DisableContext()(fn)
File "J:\iw3\python\lib\site-packages\torch_dynamo\eval_frame.py", line 410, in call__
(filename is None or trace_rules.check(fn))
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 3378, in check
return check_verbose(obj, is_inlined_call).skipped
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 3361, in check_verbose
rule = torch._dynamo.trace_rules.lookup_inner(
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 3442, in lookup_inner
rule = get_torch_obj_rule_map().get(obj, None)
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 2782, in get_torch_obj_rule_map
obj = load_object(k)
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 2811, in load_object
val = _load_obj_from_str(x[0])
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 2795, in _load_obj_from_str
return getattr(importlib.import_module(module), obj_name)
File "importlib\ init__.py", line 126, in import_module
File "J:\iw3\python\lib\site-packages\torch\nested_internal\nested_tensor.py", line 417, in
values=torch.randn(3, 3, device="meta"),
J:\iw3\python\lib\site-packages\torch\nested_internal\nested_tensor.py:417: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
values=torch.randn(3, 3, device="meta"),