Coder Social home page Coder Social logo

Comments (4)

rmax avatar rmax commented on September 27, 2024 2

Hi, thanks for the report!

For reference, this is the feedstock build log: https://circleci.com/gh/conda-forge/spacy-feedstock/81

Maybe it's related to the -march=native flag. From my little search, it seems the flags for a portable build are -march=x86-64 -mtune=generic.

The question is where the fix should go, either spacy's setup.py or a recipe patch.

@jakirkham @honnibal any thoughts?

from spacy-feedstock.

jakirkham avatar jakirkham commented on September 27, 2024 1

Sorry. Just now saw this.

Yeah -march=native is probably a bad idea. The CIs may not be on the latest and greatest architecture, but they may be more advanced then most machines. So would not be surprised if it ran unsupported instructions.

Typically one wants -march=<something really old> and -mtune=generic. Our plan with the new compilers is similar. We picked -march=nocona, which is more than a decade old (should be safe). Though it seems we didn't choose -mtune=generic, which I'm following up on.

ref: https://paper.dropbox.com/doc/Compiler-meeting-20171116-1lYaDIP93JRzzQZBlicxg

from spacy-feedstock.

lopusz avatar lopusz commented on September 27, 2024 1

Dear SpaCy Team, Dear @rmax,

I am sorry for being a bit unresponsive :(

Spacy 2.0.4 works fine on both machines I tested. Thank you for the fix!

I do not know how about comment of @jakirkham. So I am not closing the issue.
However, for me it is solved.

Best regards,
Michaล‚

from spacy-feedstock.

rmax avatar rmax commented on September 27, 2024

@lopusz Could you confirm if the release 2.0.3 fixes your issue?

from spacy-feedstock.

Related Issues (7)

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.