Skip to content

Commit f862eeb

Browse files
Michael Larabelmichaellarabel
authored andcommitted
pts/tensorflow-2.0.0: Update this, get it going against TF 2.10 upstream...
1 parent 93008e2 commit f862eeb

File tree

4 files changed

+122
-0
lines changed

4 files changed

+122
-0
lines changed

pts/tensorflow-2.0.0/downloads.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0"?>
2+
<!--Phoronix Test Suite v10.8.4-->
3+
<PhoronixTestSuite>
4+
<Downloads>
5+
<Package>
6+
<URL>http://www.phoronix-test-suite.com/benchmark-files/tensorflow-benchmarks-20220925.zip</URL>
7+
<MD5>228c7bba5c797138057181203265cf04</MD5>
8+
<SHA256>45e54b8531d96b0ee6a23d487c463a68511a366f91e0bd702ac61d10cfaf0f50</SHA256>
9+
<FileName>tensorflow-benchmarks-20220925.zip</FileName>
10+
<FileSize>1001714</FileSize>
11+
</Package>
12+
</Downloads>
13+
</PhoronixTestSuite>

pts/tensorflow-2.0.0/install.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
pip3 install --user tensorflow-cpu==2.10
3+
echo $? > ~/install-exit-status
4+
unzip -o tensorflow-benchmarks-20220925.zip
5+
echo "#!/bin/sh
6+
cd tensorflow-benchmarks/scripts/tf_cnn_benchmarks/
7+
python3 tf_cnn_benchmarks.py \$@ > \$LOG_FILE 2>&1
8+
echo \$? > ~/test-exit-status" > tensorflow
9+
chmod +x tensorflow
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0"?>
2+
<!--Phoronix Test Suite v10.8.4-->
3+
<PhoronixTestSuite>
4+
<ResultsParser>
5+
<OutputTemplate>total images/sec: #_RESULT_#</OutputTemplate>
6+
</ResultsParser>
7+
</PhoronixTestSuite>
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0"?>
2+
<!--Phoronix Test Suite v10.8.4-->
3+
<PhoronixTestSuite>
4+
<TestInformation>
5+
<Title>TensorFlow</Title>
6+
<AppVersion>2.10</AppVersion>
7+
<Description>This is a benchmark of the TensorFlow deep learning framework using the TensorFlow reference benchmarks (tensorflow/benchmarks with tf_cnn_benchmarks.py). Note with the Phoronix Test Suite there is also pts/tensorflow-lite for benchmarking the TensorFlow Lite binaries too.</Description>
8+
<ResultScale>images/sec</ResultScale>
9+
<Proportion>HIB</Proportion>
10+
<TimesToRun>3</TimesToRun>
11+
</TestInformation>
12+
<TestProfile>
13+
<Version>2.0.0</Version>
14+
<SupportedPlatforms>Linux</SupportedPlatforms>
15+
<SoftwareType>Benchmark</SoftwareType>
16+
<TestType>System</TestType>
17+
<License>Free</License>
18+
<Status>Verified</Status>
19+
<ExternalDependencies>python</ExternalDependencies>
20+
<EnvironmentSize>1300</EnvironmentSize>
21+
<ProjectURL>https://www.tensorflow.org/</ProjectURL>
22+
<RepositoryURL>https://github.com/tensorflow/tensorflow</RepositoryURL>
23+
<InternalTags>SMP</InternalTags>
24+
<Maintainer>Michael Larabel</Maintainer>
25+
<SystemDependencies>pip3</SystemDependencies>
26+
</TestProfile>
27+
<TestSettings>
28+
<Default>
29+
<Arguments>--data_format=NHWC </Arguments>
30+
</Default>
31+
<Option>
32+
<DisplayName>Device</DisplayName>
33+
<Identifier>device</Identifier>
34+
<ArgumentPrefix>--device </ArgumentPrefix>
35+
<Menu>
36+
<Entry>
37+
<Name>CPU</Name>
38+
<Value>cpu</Value>
39+
</Entry>
40+
</Menu>
41+
</Option>
42+
<Option>
43+
<DisplayName>Batch Size</DisplayName>
44+
<Identifier>batch-size</Identifier>
45+
<ArgumentPrefix>--batch_size=</ArgumentPrefix>
46+
<Menu>
47+
<Entry>
48+
<Name>16</Name>
49+
<Value>16</Value>
50+
</Entry>
51+
<Entry>
52+
<Name>32</Name>
53+
<Value>32</Value>
54+
</Entry>
55+
<Entry>
56+
<Name>64</Name>
57+
<Value>64</Value>
58+
</Entry>
59+
<Entry>
60+
<Name>256</Name>
61+
<Value>256</Value>
62+
</Entry>
63+
<Entry>
64+
<Name>512</Name>
65+
<Value>512</Value>
66+
</Entry>
67+
</Menu>
68+
</Option>
69+
<Option>
70+
<DisplayName>Model</DisplayName>
71+
<Identifier>Model</Identifier>
72+
<ArgumentPrefix>--model=</ArgumentPrefix>
73+
<Menu>
74+
<Entry>
75+
<Name>VGG-16</Name>
76+
<Value>vgg16</Value>
77+
</Entry>
78+
<Entry>
79+
<Name>ResNet-50</Name>
80+
<Value>resnet50</Value>
81+
</Entry>
82+
<Entry>
83+
<Name>AlexNet</Name>
84+
<Value>alexnet</Value>
85+
</Entry>
86+
<Entry>
87+
<Name>GoogLeNet</Name>
88+
<Value>googlenet</Value>
89+
</Entry>
90+
</Menu>
91+
</Option>
92+
</TestSettings>
93+
</PhoronixTestSuite>

0 commit comments

Comments
 (0)