Skip to content

Commit

Permalink
[KUNLUNXIN] add FlagGems blas op support & minor fix for env vars (#727)
Browse files Browse the repository at this point in the history
Co-authored-by: w4yne <[email protected]>
  • Loading branch information
w4yne and w4yne authored Sep 11, 2024
1 parent a76527b commit a843a8b
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 3 deletions.
5 changes: 5 additions & 0 deletions operation/benchmarks/addmm/kunlunxin/R300p/case_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
M : 16
N : 40
K : 256
ITERS: 50
SPECTFLOPS: 9999
5 changes: 5 additions & 0 deletions operation/benchmarks/addmm/kunlunxin/R300p/env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "KUNLUNXIN ENV.SH start"

source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda

echo "KUNLUNXIN ENV.SH end"
5 changes: 5 additions & 0 deletions operation/benchmarks/bmm/kunlunxin/R300p/case_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
M : 16
N : 40
K : 256
ITERS: 50
SPECTFLOPS: 9999
5 changes: 5 additions & 0 deletions operation/benchmarks/bmm/kunlunxin/R300p/env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "KUNLUNXIN ENV.SH start"

source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda

echo "KUNLUNXIN ENV.SH end"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
echo "KUNLUNXIN ENV.SH start"

source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda
export XPU_enable_reorder=1
export TRITONXPU_BUFFER_SIZE=128

echo "KUNLUNXIN ENV.SH end"
5 changes: 5 additions & 0 deletions operation/benchmarks/linear/kunlunxin/R300p/case_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
M : 16
N : 40
K : 256
ITERS: 50
SPECTFLOPS: 9999
5 changes: 5 additions & 0 deletions operation/benchmarks/linear/kunlunxin/R300p/env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "KUNLUNXIN ENV.SH start"

source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda

echo "KUNLUNXIN ENV.SH end"
2 changes: 1 addition & 1 deletion operation/benchmarks/max/kunlunxin/R300p/env.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
echo "KUNLUNXIN ENV.SH start"

source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda
export Triton_big_instcombine=1000
export INST_COMBINE_LOOP_THRESHOLD=1000

echo "KUNLUNXIN ENV.SH end"
2 changes: 1 addition & 1 deletion operation/benchmarks/min/kunlunxin/R300p/env.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
echo "KUNLUNXIN ENV.SH start"

source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda
export Triton_big_instcombine=1000
export INST_COMBINE_LOOP_THRESHOLD=1000

echo "KUNLUNXIN ENV.SH end"
5 changes: 5 additions & 0 deletions operation/benchmarks/mm/kunlunxin/R300p/case_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
M : 16
N : 40
K : 256
ITERS: 50
SPECTFLOPS: 9999
5 changes: 5 additions & 0 deletions operation/benchmarks/mm/kunlunxin/R300p/env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "KUNLUNXIN ENV.SH start"

source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda

echo "KUNLUNXIN ENV.SH end"

0 comments on commit a843a8b

Please sign in to comment.