Comments (8)
AFAIK there is no builtin way to load/save JAX models, as it just contains the mathematical machinery for applying transformations and differentiating. For my own uses, I did export some models into HDF5, but that has little to do with JAX.
It's possible that first-party NN-libraries (flax, haiku, etc.) have some machinery for it, though. I think a small example on how to load/train/save a model might suffice, what do you have to implement for that? I'll see if I can come up with something if you point me to the necessary components :)
from zenml.
Totally. I got some time on the weekend, happy to take a look then. It may or may not be as straightforward for me though, depending on the usability of ZenML on M1. I'll get it done!
from zenml.
Haha @nicholasjng awesome to read this request. Love it. Will notify this thread as soon as we're ready for that undertaking! JAX is an awesome idea and thanks for the request. Lets do it 💪
from zenml.
Closing due to inactivity. We are migrating such issues to the roadmap for further voting :-)
from zenml.
Sorry to necro an old thread but I tried looking through the road map and could not find it. What's the status of this? Canceled, on hold, or completed?
Thank you :)
from zenml.
We didn't find enough demand so had to prioritize other things for now. However, I can resurface it if you're interested. Contributions are welcome here, what would a JAX integration look like? Similar to the tensorflow one, i.e., having the ability to pass (materialize) JAX models through ZenML pipelines?
from zenml.
@nicholasjng So sorry for the late reply , this slipped through. Happy to receive your contribution!
A good place to start would be to see the guide to add your own example. IMO, the example would resemble something like the LightGBM example.
You might need to implement a custom materializer to get this to work
I think this is a good starting point for JAX integration. WDYT?
from zenml.
M1 is a bit problem unfortunately. Let me know if it doesnt work though!
from zenml.
Related Issues (20)
- [BUG]: Connection error between Kubeflow and ZenML HOT 7
- [BUG]: Trying to run `zenml go` in a docker container results in errors
- Runtime Errors, not allowing me to access the pipeline HOT 1
- [BUG]: RuntimeError when using zenml up HOT 1
- [BUG]: K8s orchestrator for scheduled pipeline: AttributeError: 'BatchV1Api' object has no attribute 'create_namespaced_cron_job' HOT 3
- [BUG]: The tags for the AWS Sagemaker orchestrator are passed in the wrong format HOT 4
- [BUG]: Validation Error when trying to deploy a Vertex orchestrator on GCP HOT 2
- Add a security policy HOT 2
- [BUG]: Issue when the "user" parameter is set in DockerSettings HOT 2
- [BUG]: Variable naming for `generative-chat` example HOT 2
- [BUG]: Volumes not accepted as a docker setting HOT 5
- [BUG]: GCS based Artifact Store connected through GCP Service Connector could not provide proper GCP service credential information to Label Studio annotator. HOT 1
- [BUG]: GCS URLs are of the form gs://bucket-name/path/to/file so we only need the path/to/file to match the Label Studio tasks HOT 2
- [BUG]: incorrect documents list given to FAISS function HOT 1
- [BUG]: inconsistent pointers to helm chart ocis HOT 4
- [BUG]: kaniko pod `serviceAccountName` specified in wrong scope
- [BUG]: Error in the Materializer for integration with Langchain >= 0.0.325 HOT 2
- [BUG]: kubernetes orchestrator fails trying to create clusterrolebinding instead of rolebinding
- [BUG]: TypeError: 'StepArtifact' object is not subscriptable
- [BUG]: Config.yaml step config only used in first step when calling step multiple times HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zenml.