@@ -4,7 +4,7 @@ $(error You must run "source setup_environment before calling make")
44endif
55
66ifeq ($(CUDA_GT_7 ) , 1)
7- all : GPU_Microbenchmark microbench rodinia_2.0-ft cutlass rodinia-3.1 pannotia proxy-apps ispass-2009 lonestargpu-2.0 polybench custom_apps heterosync cuda_samples mlperf_inference vllm # mlperf_training
7+ all : GPU_Microbenchmark microbench rodinia_2.0-ft cutlass rodinia-3.1 pannotia proxy-apps ispass-2009 lonestargpu-2.0 polybench custom_apps heterosync cuda_samples mlperf_inference vllm huggingface # mlperf_training
88else
99ifeq ($(CUDA_GT_4 ) , 1)
1010all : pannotia rodinia_2.0-ft proxy-apps dragon-naive microbench rodinia-3.1 ispass-2009 dragon-cdp lonestargpu-2.0 polybench parboil shoc custom_apps
@@ -19,7 +19,7 @@ accelwattch_hw_power: rodinia-3.1_hw_power parboil_hw_power cuda_samples-11.0_hw
1919# Disable clean for now, It has a bug!
2020# clean_dragon-naive clean_pannotia clean_proxy-apps
2121
22- clean : clean_mlperf_inference clean_rodinia_2.0-ft clean_dragon-cdp clean_ispass-2009 clean_lonestargpu-2.0 clean_custom_apps clean_parboil clean_cutlass clean_rodinia-3.1 clean_heterosync clean_UVMSmart_test clean_cuda_samples
22+ clean : clean_mlperf_inference clean_rodinia_2.0-ft clean_dragon-cdp clean_ispass-2009 clean_lonestargpu-2.0 clean_custom_apps clean_parboil clean_cutlass clean_rodinia-3.1 clean_heterosync clean_UVMSmart_test clean_cuda_samples clean_huggingface
2323clean_accelwattch : clean_rodinia-3.1 clean_parboil clean_cutlass clean_cuda_samples-11.0 clean_cuda_samples_hw_power clean_rodinia-3.1_hw_power clean_parboil_hw_power clean_accelwattch_ubench
2424
2525clean_data :
@@ -511,6 +511,14 @@ pytorch_examples:
511511 echo " #!/bin/bash\npython $( BINDIR) /$( BINSUBDIR) /pytorch_examples/vae/main.py --epochs=1" > $(BINDIR ) /$(BINSUBDIR ) /inference_vae
512512 chmod u+x $(BINDIR ) /$(BINSUBDIR ) /inference_vae
513513
514+ huggingface :
515+ mkdir -p $(BINDIR ) /$(BINSUBDIR ) /huggingface
516+ cp -r cuda/huggingface $(BINDIR ) /$(BINSUBDIR )
517+ bash $(BINDIR ) /$(BINSUBDIR ) /huggingface/setup_environment.sh
518+ echo " source $( BINDIR) /$( BINSUBDIR) /huggingface/setup_environment.sh && python3 $( BINDIR) /$( BINSUBDIR) /huggingface/helloworld.py" > $(BINDIR ) /$(BINSUBDIR ) /huggingface/helloworld
519+ chmod u+x $(BINDIR ) /$(BINSUBDIR ) /huggingface/helloworld
520+ chmod u+x $(BINDIR ) /$(BINSUBDIR ) /huggingface/* .py
521+
514522clean_heterosync :
515523 rm -rf cuda/heterosync
516524
@@ -685,3 +693,6 @@ clean_pytorch_examples:
685693
686694clean_cuda_samples :
687695 make clean -C ./cuda/cuda-samples/build
696+
697+ clean_huggingface :
698+ rm -rf $(BINDIR ) /$(BINSUBDIR ) /huggingface
0 commit comments