triton-inference-server / fastertransformer_backend

BSD 3-Clause "New" or "Revised" License
411 stars 134 forks source link

Install Go 1.16 with precompiled binary #14

Closed jimwu6 closed 2 years ago

jimwu6 commented 2 years ago

The apt-get install golang-go installs Go version 1.13. This fails with this error:

Step 18/26 : RUN go get github.com/golang/protobuf/protoc-gen-go &&         go get google.golang.org/grpc
 ---> Running in fd6421564474
# golang.org/x/net/http2
/root/go/src/golang.org/x/net/http2/transport.go:417:45: undefined: os.ErrDeadlineExceeded
The command '/bin/sh -c go get github.com/golang/protobuf/protoc-gen-go &&         go get google.golang.org/grpc' returned a non-zero code: 2

This can be fixed by using a more updated version of Go, following the instructions from the official Go page https://go.dev/doc/install.

byshiue commented 2 years ago

Hi. We don't really use Go in fastertransformer backend, and already remove them in latest beta branch. You can try it.