-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Support FPGA Xilinx #26691
Comments
@Belkharym - glad to connect with you to chat through this before jumping into the technical details. Can you send me an email at jspisak@fb.com so we can find a time? |
Hello, Xilinx recently released Vitis High Level Synthesis which supports FPGA programming using C++ and Verilog. I have added a proof-of-concept with relevant links here. I am hoping to work with both:
Please contact me if you need more information. |
thanks!! (and apologies for the delayed response). Is this something you would be willing to develop out of tree but promoted as part of the pytorch ecosystem? These are really cool projects but we try hard to keep the core lean and have it as modular as possible. btw, can you state more about the plans for complex number support? Are you for example planning to support quaternions? |
Hi @jspisak, Out-of-Tree Project
In-Tree Changes (minimal)
Support for Quaternions (Higher-Order Spaces).
Promotion in the PyTorch Ecosystem.
|
out-of-tree sounds right and we are happy to accept fixes for the assertions that break you. |
Hi @jspisak @dylanbespalko, Would you mind if we would like to discuss more about implementing convolution inference on FPGA in Pytorch? Thanks! |
I have implemented the very basic math kernels here. Development is on-going, but I think I have all binary functions (eg As for my future development:
If you would like to develop in my repo, send me a Gitlab ID and tend me when I need to clean up my act. |
@dylanbespalko sure, I am more than happy to talk about this. Is there a way to DM or email you? |
You can register for pytorch.slack.com and find me as Dylan Bespalko. Or you can email me here. I am writing a blog right now that outlines the project status and how to contribute. |
I have posted a tutorial on my work integrating PyTorch with Xilinx Vitis/Vivado:
I'm have no stress in my life, so I'm going to develop a bunch of math kernels and then export the PyTorch graph. |
Here is an update:
Here are some issues:
The last issue is very scary for me. Please vote up the issue. |
Hello, World!
We are a group intending to accelerate some Pytorch operations on Xilinx UltraScale FPGAs. However, we are a little lost to where to begin to port the functions.
From what we could see, we think we can start from the CUDA implementation and modify it to use the OpenCL API and add an FPGA device type and components (Streams, Storage, Tensors, ...).
We would like to have some guidance on the right way to take. Would you be so kind to help us?
Thank you.
The text was updated successfully, but these errors were encountered: