GithubHelp home page GithubHelp logo

Broken pip install about esm HOT 8 CLOSED

facebookresearch avatar facebookresearch commented on July 26, 2024
Broken pip install

from esm.

Comments (8)

tomsercu avatar tomsercu commented on July 26, 2024 1

I'm not too familiar with kaggle notebooks, checking it out now, and getting an error as well;
ERROR: Command errored out with exit status 128: git clone -q https://github.com/facebookresearch/esm.git /tmp/pip-req-build-2n1gcvxy Check the logs for full command output.
Can you point me to the logs / how you diagnosed this is due to typing? I'm confused what typing got to do with this - we're not requiring any specific version of typing and not using any fancy features..
EDIT my troubles seem to be about github being blocked from kaggle notebooks.. Could not resolve host: github.com. I'm on https://www.kaggle.com/scratchpad/notebook026c36d5fa/edit - this is what you're talking about right?
EDIT2 ok let me make an account so I can turn on the internet :D

EDIT3 ok now I'm getting AttributeError: type object 'Callable' has no attribute '_abc_registry' -- let me see why this happens.. probably black is responsible

from esm.

tomsercu avatar tomsercu commented on July 26, 2024

Thanks a ton for flagging! Should be fixed now :)

from esm.

SamusRam avatar SamusRam commented on July 26, 2024

Wow, that was quick :) The install works like a charm, thanks!

P.S. Just so you know, I wasn't able to pip install your awesome library in a Kaggle notebook due to an issue with the latest version of typing library. On my local machine pip install worked without any problem, I have typing==3.7.4.2. Kaggle currently has typing==3.7.4.3.

In the Kaggle notebook I had to

!pip uninstall -y typing
!pip install git+https://github.com/facebookresearch/esm.git

Just so you know, I was not able to
!pip install typing==3.7.2
as this version seems to be removed from pypi. I tried a couple of older versions of the typing library, but I faced the same issue with the esm install.

Not having the typing-lib available is the least possible price for playing with your fantastic results, just a heads-up :)

from esm.

SamusRam avatar SamusRam commented on July 26, 2024

Sorry for the late reply due to the night in Europe.
I believe more projects are facing the same issues, moreover I managed to replicate the issue locally after upgrading typing. Could you please let me know here, in case black turn out to be the root cause? Thank you and good luck with the bug hunt!

from esm.

tomsercu avatar tomsercu commented on July 26, 2024

I looked into it only a little bit, but since black comes pre-installed and I can run it without issue that seems unrelated.
Ok and poking a bit further it seems like there are just 2 conflicting packages typing pre-installed in their conda env, which of course gives trouble.. I'd just assume kaggle will figure it out and will update their docker image.
image

from esm.

SamusRam avatar SamusRam commented on July 26, 2024

Hi Tom,

thank you for the time you invested in looking into the issue! It's very much appreciated! I've shared all the insights with kaggle support.

But mainly, again, thank you so much for your awesome work! The result amazed me so much that I felt an urge to play with it myself and to check what the self-learned embeddings are capable of (that was the reason why I wanted to install the package into kaggle kernel) I was playing with your model on top of a tiny dataset of approx. 70 proteins there. And in the end, your work amazed me first hand :)

Just in case you might be curious about the kind of fun people are having with your model in their leisure time, here's a link to my brief experiments: https://www.kaggle.com/samusram/fair-transformer-understands-proteins-let-s-check?scriptVersionId=49615485

Best regards,
Raman

from esm.

joshim5 avatar joshim5 commented on July 26, 2024

@SamusRam, this is very cool work! Thanks for sharing it with us. Feel free to try our newest model ESM-1b (esm1b_t33_650M_UR50S) which should give you even stronger results. Excited to see what you build with this next!

from esm.

SamusRam avatar SamusRam commented on July 26, 2024

@joshim5, thank you for the kind words, you made my day! And thanks for the awesome work you're doing, I'm really looking forward to more of your papers!

p.s. I've briefly experimented with ESM-1b, thank you for the suggestion! The final prediction results are similar, but it might be due to the tiny dataset limitations. I still find the results enabled by your embeddings astonishing!

from esm.

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.