Comments (11)
@VishalX
I could compile succesfully and owe this to you
Thank you so much.
from vitis-ai.
You can try restarting butler. Following are the commands (to be run outside docker).
Start: % sudo service xbutler start
Stop: % sudo service xbutler stop
Restart: % sudo service xbutler Restart
Even after that if the problem persists, you can try running following (inside docker) to get more info:
xbutler_backdoor.sh -b
from vitis-ai.
@Hikaru-Furuta
I see a few issues with your approch.
- I see you are programming XCLBIN manually onto the card, which is DPUv3int8 (DPUCADF8H) XCLBIN, then in the env setup step, you reset the card with
xbutil reset
, which will reset the card. - Another issue is, As I mentioned, you are programming DPUCADF8H xclbin onto the card but when you are trying the example, you're inside DPUCADX8G examples
cd /workspace/examples/DPUCADX8G/vitis_ai_alveo_samples/video_analysis
.
Can you please let us know which DPU are you targetting for your runs?
DPUCADX8G (dpuv1) is the older DPU with Batch-1
DPUCADF8H (dpuv3int8) in the newer DPU with Batch-4
from vitis-ai.
No, both are supported with VAI-1.3.
Here are some pointers.
DPUCADX8G Setup:
https://github.com/Xilinx/Vitis-AI/blob/master/setup/alveo/u200_u250/README.md#setup-for-alveo
This script: https://github.com/Xilinx/Vitis-AI/blob/master/setup/alveo/u200_u250/packages/install.sh, will do all you need for setting up for DPUCADX8G, including XCLBIN installation. You can go through the script and use the links to download packages manually as well.
DPUCADX8G Examples:
https://github.com/Xilinx/Vitis-AI/tree/master/examples/DPUCADX8G
from vitis-ai.
Thank you @sumitn-xilinx
from vitis-ai.
After restarting, I suffer this error.
Could you help me solve this one?
Speaking to Butler
Response from Butler is:
errCode: errCode: 9
errCode String: PROGRAM_CREATE_ERROR
myHandle: 0
valid: 1
from vitis-ai.
Hi @Hikaru-Furuta , could you please raise a new issue, and together with the exact version of Vitis AI docker container that you are using?
from vitis-ai.
@sumitn-xilinx
Yes, I tried.
as for xbutler_backdoor.sh -b
, got followings
xbutler_backdoor.sh -b
-------------------------------
Validating Arguments... passed!
-------------------------------
----------------------
Verifying CONDA_PREFIX
----------------------
----------------------
Verifying XILINX_XRT
----------------------
Pass!
Password Correct!
-----------------------
Handle/Resource Pairs
-----------------------
-----------------------
Service/Handle Pairs
-----------------------
-----------------------
Port Info
-----------------------
from vitis-ai.
Thanks for sharing the output of backdoor. I deleted my comment because I saw that you faced this issue after restart only.
This error is mostly related to XCLBIN not present or not being readable.
Which alveo example are you trying? Can you check if the corresponding xclbin is readable?
from vitis-ai.
@sumitn-xilinx
I'm using alveo U250.
And codes I had tried is follows.
FPGA writing command
cd ~/git/Vitis13/work/alveo_xclbin-1.3.0/U250-V3INT8
/opt/xilinx/xrt/bin/xbutil program -d 0 -p dpdpuv3_wrapper.hw.xilinx_u250_xdma_201830_2.xclbin
environment setup0
source /opt/xilinx/xrt/setup.sh
sudo /opt/xilinx/xrt/bin/xbmgmt flash --scan
xbutil reset
docker run(vai1.3)
cd ~/git/Vitis13/
./docker_run.sh xilinx/vitis-ai-cpu:latest
cd /workspace/examples/DPUCADX8G/vitis_ai_alveo_samples/video_analysis
conda activate vitis-ai-tensorflow
make clean
make
export VAI_ALVEO_ROOT=/workspace/examples
./run.sh XXX.mp4
from vitis-ai.
@VishalX
Thank you for your kind attention.
I'm targetting DPUCADX8G
So you mean DPUCADX8G is no longer supported by XCLBIN in vai1.3?
from vitis-ai.
Related Issues (20)
- "--fine_grained" has some problems when runing vaitrace on KV260, vitis 3.5, HOT 7
- Cannot build Docker Image(Type : GPU FrameWork : PyTorch) HOT 9
- Compilation failed: DPU mismatch (Cannot find target with name DPUCZDX8G_ISA0_B4096_MAX_BG2) HOT 4
- Modify the kria kr260 design of the hackster tutorial for the DPU
- Compilation error::[XIR_REMOVE_OP_FAIL][Failed to remove an op!] Cannot remove xir::Op
- desire to re-open the post about the issues 'error on compiling a yolov4' #346 to get some help
- Cannot build Docker Image(Type : GPU FrameWork : PyTorch, vitis-ai 3.0) HOT 4
- Cannot build Docker image(Type : cpu,gpu FrameWork : pytorch, tf2 , vitis-ai 3.0)
- Problem while running quantization for a custom trained yolov4 model
- how "test_map" in .prototxt works?
- Is it necessary to generate multiple DPU subgraphs as long as one layer is left floating point?
- [Vitis-AI 3.5] vai_q_tensorflow2 and vai_c_tensorflow2 support of shared layers
- PetaLinux boot stuck after chang the device tree of dpu HOT 1
- Problems with building a libadf.a file in the VAI 3.5 VEK280 Reference Design Project
- Error During Model Inspection with Vitis Inspector Tool
- Can't set quantization strategy either with `quantize_model()` or `set_quantize_strategy()` functions in TF2
- [vitis-ai 3.5]cannot complie xmode
- About vitis ai and DPU running two xmodels HOT 1
- error:Check failed: r == 0 (-1 vs. 0) , cannot allocate memory HOT 2
- Example running failed in KR260
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 vitis-ai.