Skip to content

Wrong go module version #912

Open
Open
@joy717

Description

@joy717

What happened:
Can not import this project to gpu DevicePlugins

What you expected to happen:
Can import this project to other projects

How to reproduce it (as minimally and precisely as possible):

# go.mod of device plugin
require(
    github.com/Project-HAMi/HAMi v2.5.0
)

# error output
go.mod:19:2: require github.com/Project-HAMi/HAMi: version "v2.5.0" invalid: should be v0 or v1, not v2

Anything else we need to know?:
This is because this project tagged as v2.x.x which should change module to v2. eg:

# go.mod this project
module github.com/Project-HAMi/HAMi
-->
module github.com/Project-HAMi/HAMi/v2

  • The output of nvidia-smi -a on your host
  • Your docker or containerd configuration file (e.g: /etc/docker/daemon.json)
  • The hami-device-plugin container logs
  • The hami-scheduler container logs
  • The kubelet logs on the node (e.g: sudo journalctl -r -u kubelet)
  • Any relevant kernel output lines from dmesg

Environment:

  • HAMi version:
  • nvidia driver or other AI device driver version:
  • Docker version from docker version
  • Docker command, image and tag used
  • Kernel version from uname -a
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions