Giter Site home page Giter Site logo

Comments (10)

blackgnezdo avatar blackgnezdo commented on August 17, 2024

So true! We want to set something up with Jenkins, like the rest of TensorFlow has. @gunan maybe you can help us get started?

from haskell.

gunan avatar gunan commented on August 17, 2024

Let me consult a few people here to see where we can run tests on this repo.
I will assign the issue myself to not forget.

from haskell.

gunan avatar gunan commented on August 17, 2024

I cannot seem to assign the issue :)
I will update here with more information.

from haskell.

gunan avatar gunan commented on August 17, 2024

OK, I can help you get some tests running on ci.tensorflow.org
You simply need to give me a bash script I need to run, Then I will setup the continuous build on master.

Then we need to setup some webhooks. We need a repository administrator to do that.
I can also do this wiring if you give me temporary access.

from haskell.

blackgnezdo avatar blackgnezdo commented on August 17, 2024

I imagine the easiest would be for us to have a canonical docker image which rebuilds everything including TF? Something akin to Mac OS build instructions in our README.md? Once I have this checked in we can ask @martinwicke to grant the necessary permissions to @gunan. I'm taking over this issue to do the first step.

from haskell.

gunan avatar gunan commented on August 17, 2024

If you only would like a build, it is OK.
However, if you actually have some tests that need to be run, that would be even better.
One other option is to:

  • fetch the latest TF docker image,
  • start a container with this image
  • inside that container run a script that builds and tests haskell bindings.

I think this would be even faster to run as we avoid building full TF.

from haskell.

blackgnezdo avatar blackgnezdo commented on August 17, 2024

We do have the tests. But I don't know if there's an option to communicate individual test status beyond a simple exit code from the script. Probably not really what you had in mind @gunan? One thing about using a "raw" TF container is we have a pretty heavy build dependencies that would be nice to cache (the compiler and all the dependent libraries).

from haskell.

gunan avatar gunan commented on August 17, 2024

I see, then how about building a new Docker image on top of TF docker?
Like how we do on top of nvidia/cuda
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/docker/Dockerfile.gpu#L1
I am just trying to get you a faster test by avoiding rebuild of TF.

For the test script, are these bazel tests?
We have some bash scripts to run and capture all test outputs, maybe we can prepare something like that for this repo too?

from haskell.

blackgnezdo avatar blackgnezdo commented on August 17, 2024

They are not bazel tests (pragmatic reasons). Pattern matching should be easy, but let's cross that bridge later.

from haskell.

blackgnezdo avatar blackgnezdo commented on August 17, 2024

#14 has the script: ./ci_build/outer_launch_tests.sh

from haskell.

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.