| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Based on the repository transformers diffusers NVTX
Domain of NVTX annotation from push_range/pop_range is set as "nsys_prof".
List of file/function described below is ignored in NVTX auto-annotation.
File : "module.py","nvtx.py","_contextlib.py","cached.py","grad_mode.py","threading.py","_monitor.py"
Function : "decorate_context","_call_impl"
Modifiy docker volume directory in init.sh, then
bash init_docker.sh
After attach container, activate conda environment "sd_profile", then
cd /home/workspace/ bash init_profiling.sh
Check whether docker container/conda environment is properly installed.
cd /home/workspace/ python test.py
Stable diffusion scripts are located in /home/workspace/profiling/scripts
Profiling scripts are located in /home/workspace/profiling/
mv /home/workspace/profiling/ bash run_nsys_custom.sh name_prefix device_no num_of_prompts num_images_per_prompt num_inference_steps bash run_nsys_custom.sh test 0 1 1 50
As profiling entire script with Nsight Compute needs more than 2 days, you should profiling on a limited range of NVTX annotation.
run_ncu_nvtx_range.sh : Code with NVTX range domain "ncu_prof" and name "denoiser_step_2" will be profiled.
mv /home/workspace/profiling/ bash run_ncu_nvtx_range.sh name_prefix device_no num_of_prompts num_images_per_prompt num_inference_steps replay bash run_ncu_nvtx_range.sh test 0 1 1 50 kernel full
| Back | FazBrowse Home | New Git URL |