Coder Social home page Coder Social logo

Comments (4)

tholor avatar tholor commented on June 2, 2024 1

Hey @johann-petrak, this is mainly precautionary and due to the fact that we don't actively maintain FARM anymore. In the past, there were quite some cases where even minor pytorch releases included breaking changes. So we rather opted for pinning a known working version here.

from farm.

Serbernari avatar Serbernari commented on June 2, 2024

!pip install torch==1.10.0+cu111 torchvision==0.11.0 torchaudio==0.10.0 -f https://download.pytorch.org/whl/cu111/torch_stable.html worked

from farm.

johann-petrak avatar johann-petrak commented on June 2, 2024

Also clamping the transformers version is problematic since it has progressed a lot.
I updated to 4.21.0 without problem, but starting at 4.22.0 it becomes evident that farm was using the private function cached_path which got removed in 4.22.0, so things break.

transformers.utils.hub.cached_file from https://github.com/huggingface/huggingface_hub is probably the closest approximation

from farm.

stale avatar stale commented on June 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 21 days if no further activity occurs.

from farm.

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.