FINN Development in a VS Code Dev Container (on Windows using WSL 2) #1084
Replies: 2 comments 2 replies
-
I also tried to experiment with a custom BuildKit frontend, for example this one to apply the patch to Dockerfile.finn by extending instead of modifying it. Unfortunately, custom frontends like this are broken in dev containers until microsoft/vscode-remote-release#6848 is addressed. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have a quick question, how do you manage FINN call to vitis_hls since it is a windows install of Vitis ? Personally when launching That what I get if I try to run it : ERROR: Could not find 64-bit executable.
ERROR: /mnt/c/Tools/Xilinx/Vitis_HLS/2024.1/bin/unwrapped/lnx64.o/vitis_hls does not exist |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've been working with FINN in Visual Studio Code on Windows via a WSL 2 Ubuntu distribution and Docker Desktop for a while. This works fine, but the disconnect between writing code in the WSL workspace but executing it within the FINN Docker container (via
run-docker.sh
) is not ideal.To work directly within the container, I created the devcontainer.json file I'm sharing here. It allows VS Code to spin up the FINN Docker environment as a dev container, in which your development workspace resides. This has the following benefits:
Setup
Besides some VS Code configuration via
settings.json
andlaunch.json
files, you'll need to append the following code toDockerfile.finn
for this to work:Other considerations:
Feedback
Please share your ideas for improving this setup here. I'll try to maintain this post accordingly.
Note that this is not an officially supported installation of FINN.
Beta Was this translation helpful? Give feedback.
All reactions