MetaX-Tech Developer Forum 论坛首页
  • 沐曦开发者
search
Sign in

liuzuheng

  • Members
  • Joined 2026年5月3日
  • message 帖子
  • forum 主题
  • favorite 关注者
  • favorite_border Follows
  • person_outline 详细信息

liuzuheng has started 1 thread.

  • See post chevron_right
    liuzuheng
    Members
    在部署sam3模型时torchvision 版本不够 解决中 2026年5月3日 19:54

    root@muxi-Rack-Server:/workspace# python -V
    python -c "import torch, torchvision; print('torch', torch.version); print('torch cuda', torch.version.cuda); print('torchvision', torchvision.version)"
    python -c "import torch; import torch.nn.attention; print('torch.nn.attention ok')"
    python -c "from torchvision.transforms import v2; import inspect; print(inspect.signature(v2.ToDtype)); print(hasattr(v2.functional, 'to_image'))"
    Python 3.10.10
    torch 2.6.0+metax3.2.1.3
    torch cuda 11.6
    torchvision 0.15.1+metax3.2.1.3
    torch.nn.attention ok
    /opt/conda/lib/python3.10/site-packages/torchvision/datapoints/init.py:12: UserWarning: The torchvision.datapoints and torchvision.transforms.v2 namespaces are still Beta. While we do not expect major breaking changes, some APIs may still change according to user feedback. Please submit any feedback you may have in this issue: github.com/pytorch/vision/issues/6753, and you can also check out github.com/pytorch/vision/issues/7319 to learn more about the APIs that we suspect might involve future changes. You can silence this warning by calling torchvision.disable_beta_transforms_warning().
    warnings.warn(_BETA_TRANSFORMS_WARNING)
    /opt/conda/lib/python3.10/site-packages/torchvision/transforms/v2/init.py:54: UserWarning: The torchvision.datapoints and torchvision.transforms.v2 namespaces are still Beta. While we do not expect major breaking changes, some APIs may still change according to user feedback. Please submit any feedback you may have in this issue: github.com/pytorch/vision/issues/6753, and you can also check out github.com/pytorch/vision/issues/7319 to learn more about the APIs that we suspect might involve future changes. You can silence this warning by calling torchvision.disable_beta_transforms_warning().
    warnings.warn(_BETA_TRANSFORMS_WARNING)
    (dtype: Union[torch.dtype, Dict[Type, Optional[torch.dtype]]]) -> None
    False

  • 沐曦开发者论坛
powered by misago