Giter Club home page Giter Club logo

Comments (5)

philss avatar philss commented on August 19, 2024 1

@dustinfarris this is not supported right now, but you can disable the compilation of the Polars by adding the option skip_compilation?: true to the Explorer.PolarsBackend.Native module, where Rustler is configured. Reference for these options can be found in Rustler's doc.

Just make sure that the file priv/native/libexplorer.* exists. This file is generated when Polars is compiled with Rustler and the extension can changed based on your OS.

We are researching a way to use precompiled Polars. Stay tuned :)

from explorer.

philss avatar philss commented on August 19, 2024 1

Just to give an update: we are waiting for this PR to get merged (or we publish that work as a separated package): rusterlium/rustler#419

I can ping you here when we have the feature :)

from explorer.

dustinfarris avatar dustinfarris commented on August 19, 2024 1

@dustinfarris precompiled Polars will be available soon. I was closing as I thought @philss answer solved the specific issue -- if that's not right I'm happy to reopen.

ok got it thanks for clarifying — i'll keep watching the repo for an update on precompiled.

fyi for anyone else watching this, we went with a slightly different workaround:

config :explorer, Explorer.PolarsBackend.Native,
  # By default, Polars compiles inside a build directry in deps/explorer.
  # Fully compiling Polars can take well over 15 minutes. This config moves the
  # location outside of deps, so that Polars does not have to fully re-compile
  # whenever deps is cleaned or re-created.  To force Polars to recompile, just
  # remove _explorer from your project root.
  target_dir: Path.expand("_explorer/build")

which has been working fairly well in CI (except when GitHub Actions randomly busts our cache for no reason)

from explorer.

dustinfarris avatar dustinfarris commented on August 19, 2024

@cigrainger was this resolved?

from explorer.

cigrainger avatar cigrainger commented on August 19, 2024

@dustinfarris precompiled Polars will be available soon. I was closing as I thought @philss answer solved the specific issue -- if that's not right I'm happy to reopen.

from explorer.

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.