SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Halo@lemmy.world to LocalLLaMA@sh.itjust.worksEnglish · 4 months ago

Go toolchain error - Does anyone know what's going on here?

lemmy.world

message-square
10
fedilink
14

Go toolchain error - Does anyone know what's going on here?

lemmy.world

Halo@lemmy.world to LocalLLaMA@sh.itjust.worksEnglish · 4 months ago
message-square
10
fedilink
alert-triangle
You must log in or register to comment.
  • narc0tic_bird@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    Unsupported platform probably (android/arm64)?

    • Halo@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      I’ve done this before, though. But this never happened. It’s entirely possible to run Ollama on Android. There are a bunch of tutorials out there if you want to check.

      • narc0tic_bird@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        What does the go.mod file look like? Go 1.23.4 is relatively new so maybe binaries for your platform aren’t available yet? What does go version output?

        • Halo@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          go version go1.23.2 android/arm64

        • Halo@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          Imagepipe_9

          go.mod

          • Halo@lemmy.worldOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 months ago

            GNU nano 8.2 go.mod module github.com/ollama/ollama

            go 1.23.4

            require ( github.com/containerd/console v1.0.3 github.com/emirpasic/gods v1.18.1 github.com/gin-gonic/gin v1.10.0 github.com/golang/protobuf v1.5.4 // indirect github.com/google/uuid v1.6.0 github.com/olekukonko/tablewriter v0.0.5 github.com/spf13/cobra v1.7.0 github.com/stretchr/testify v1.9.0 github.com/x448/float16 v0.8.4 golang.org/x/sync v0.10.0 )

            require ( github.com/agnivade/levenshtein v1.1.1 github.com/d4l3k/go-bfloat16 v0.0.0-20211005043715-690c3bdd05f1 github.com/google/go-cmp v0.6.0 github.com/mattn/go-runewidth v0.0.14 github.com/nlpodyssey/gopickle v0.3.0 github.com/pdevine/tensor v0.0.0-20240510204454-f88f4562727c golang.org/x/image v0.22.0 )

            require ( github.com/apache/arrow/go/arrow v0.0.0-20211112161151-bc219186db40 // > github.com/bytedance/sonic/loader v0.1.1 // indirect github.com/chewxy/hm v1.0.0 // indirect github.com/chewxy/math32 v1.11.0 // indirect github.com/cloudwego/base64x v0.1.4 // indirect github.com/cloudwego/iasm v0.2.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/google/flatbuffers v24.3.25+incompatible // indirect github.com/kr/text v0.2.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/rivo/uniseg v0.2.0 // indirect github.com/xtgo/set v1.0.0 // indirect go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 /> golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect gonum.org/v1/gonum v0.15.0 // indirect gorgonia.org/vecf32 v0.9.0 // indirect gorgonia.org/vecf64 v0.9.0 // indirect )

            require ( github.com/bytedance/sonic v1.11.6 // indirect github.com/gabriel-vasile/mimetype v1.4.3 // indirect github.com/gin-contrib/cors v1.7.2 github.com/gin-contrib/sse v0.1.0 // indirect github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect github.com/go-playground/validator/v10 v10.20.0 // indirect github.com/goccy/go-json v0.10.2 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/klauspost/cpuid/v2 v2.2.7 // indirect github.com/leodido/go-urn v1.4.0 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // i> github.com/modern-go/reflect2 v1.0.2 // indirect github.com/pelletier/go-toml/v2 v2.2.2 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/twitchyliquid64/golang-asm v0.15.1 // indirect github.com/ugorji/go/codec v1.2.12 // indirect golang.org/x/arch v0.8.0 // indirect golang.org/x/crypto v0.31.0 golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa golang.org/x/net v0.25.0 // indirect golang.org/x/sys v0.28.0 golang.org/x/term v0.27.0 golang.org/x/text v0.21.0 google.golang.org/protobuf v1.34.1 gopkg.in/yaml.v3 v3.0.1 // indirect )

            • Peereboominc@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              4 months ago

              Remove the .4 from “go 1.23.4” or replace it by .2. It probably does not need the latest go patches to compile

              • narc0tic_bird@lemm.ee
                link
                fedilink
                English
                arrow-up
                2
                ·
                4 months ago

                That’s what I’d suggest as well. Should work.

  • Peereboominc@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    I have had this before in Go when I had an older version of Go installed but the dependency needed a newer version. It then tries to download a temporary tool chain of a new Go version to compile the dependency (or whatever it is doing). For me, that failed. What did work was upgrading Go to the latest version.

    You can check what your installed Go version is by

    go version
    

    If it is lower than 1.23.4, upgrade it.

    • Halo@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      The version is 1.23.2. It’s the latest version in the Termux repo, though.

LocalLLaMA@sh.itjust.works

localllama@sh.itjust.works

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !localllama@sh.itjust.works

Welcome to LocalLLaMA! Here we discuss running and developing machine learning models at home. Lets explore cutting edge open source neural network technology together.

Get support from the community! Ask questions, share prompts, discuss benchmarks, get hyped at the latest and greatest model releases! Enjoy talking about our awesome hobby.

As ambassadors of the self-hosting machine learning community, we strive to support each other and share our enthusiasm in a positive constructive way.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 35 users / day
  • 87 users / week
  • 489 users / month
  • 1.02K users / 6 months
  • 46 local subscribers
  • 2.95K subscribers
  • 321 Posts
  • 1.47K Comments
  • Modlog
  • mods:
  • SkySyrup@sh.itjust.works
  • pax@sh.itjust.works
  • noneabove1182@sh.itjust.works
  • SmokeyDope@lemmy.world
  • MonsterBug@sh.itjust.works
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org