Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load pytorch model with onnx training on spark with gpu? #818

Open
mullerhai opened this issue Jan 9, 2025 · 3 comments
Open

load pytorch model with onnx training on spark with gpu? #818

mullerhai opened this issue Jan 9, 2025 · 3 comments

Comments

@mullerhai
Copy link

HI, we want to load pytorch model with onnx training on spark with gpu for training pytorch model ,could we do that

@mullerhai
Copy link
Author

or use javacpp -pytorch write network model load to spark on GPU

@rishic3
Copy link
Collaborator

rishic3 commented Jan 9, 2025

Hi @mullerhai ! Thanks for your interest in GPU-accelerated ML/DL on Spark. Are you interested primarily in distributed training or distributed inference?
For distributed inference we would recommend starting with the PyTorch DL inference examples. These will walk through how to train a model on single-node, save to file system, and load on workers for distributed inference on Spark.
For distributed training with PyTorch you can check out the TorchDistributor examples on Spark.

Let us know if this helps answer your question.

@mullerhai
Copy link
Author

Hi @mullerhai ! Thanks for your interest in GPU-accelerated ML/DL on Spark. Are you interested primarily in distributed training or distributed inference? For distributed inference we would recommend starting with the PyTorch DL inference examples. These will walk through how to train a model on single-node, save to file system, and load on workers for distributed inference on Spark. For distributed training with PyTorch you can check out the TorchDistributor examples on Spark.

Let us know if this helps answer your question.

not what I want ,I need scala language code for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants