Giter Club home page Giter Club logo

Comments (6)

johannes-fischer avatar johannes-fischer commented on June 12, 2024 3

I think this is again an issue of the compat specification of Transformers.jl. On 1.10, only GPUCompiler 0.22.0 upwards are available (to my understanding because of this line). However, these never versions of GPUCompiler are only compatible with newer versions of CUDA.jl, but Transformers.jl restricts the CUDA version (explicitly, and implicitly via the Flux compat entry).

from transformers.jl.

johannes-fischer avatar johannes-fischer commented on June 12, 2024

Any plans for this?

from transformers.jl.

svilupp avatar svilupp commented on June 12, 2024

EDIT: I am wrong -- it's an issue on 1.10, not Transfomers. I don't understand it, but it has to do with CUDA / GPUCompiler.


I believe this makes Transformers.jl uninstallable now.

I'm not sure how it's possible, but I've tried from fresh environment and it fails in resolving. Clearly, some dependency has moved on :/

Example

]activate --temp
]add [email protected]

   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package GPUCompiler [61eb1bfa]:
 GPUCompiler [61eb1bfa] log:
 ├─possible versions are: 0.1.0-0.26.4 or uninstalled
 ├─restricted by julia compatibility requirements to versions: 0.22.0-0.26.4 or uninstalled
 └─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.15.1-0.21.4 — no versions left
   └─CUDA [052768ef] log:
     ├─possible versions are: 0.1.0-5.3.1 or uninstalled
     ├─restricted by julia compatibility requirements to versions: [2.3.0, 2.5.0-5.3.1] or uninstalled
     ├─restricted by compatibility requirements with Transformers [21ca0261] to versions: 3.10.0-5.3.1
     │ └─Transformers [21ca0261] log:
     │   ├─possible versions are: 0.0.1-0.2.8 or uninstalled
     │   └─restricted to versions 0.2.8 by an explicit requirement, leaving only versions: 0.2.8
     └─restricted by compatibility requirements with Flux [587475ba] to versions: 3.0.0-4.4.2, leaving only versions: 3.10.0-4.4.2
       └─Flux [587475ba] log:
         ├─possible versions are: 0.4.1-0.14.15 or uninstalled
         └─restricted by compatibility requirements with Transformers [21ca0261] to versions: 0.13.4-0.13.17
           └─Transformers [21ca0261] log: see above

from transformers.jl.

cpfiffer avatar cpfiffer commented on June 12, 2024

I spent a bit trying to chase down the compat issues today and wow what an absolute nightmare.

  • GPUCompiler.jl is less of an issue thanks to this.
  • A bigger issue is NNlibCUDA.jl, which seems to be vaguely deprecated. Supposedly NNlib.jl contains all the functionality of NNlibCUDA.jl, but this may require some internal code changes and not just compat updates.

from transformers.jl.

cpfiffer avatar cpfiffer commented on June 12, 2024

Oh this is great, it doesn't seem like the package imports NNlibCUDA.jl anywhere, perhaps we can simply drop the compat. Experimenting.

from transformers.jl.

cpfiffer avatar cpfiffer commented on June 12, 2024

Opened #185, which should address some of this. Testing still ongoing.

from transformers.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.