Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Apr 3, 2024
1 parent d3285f8 commit 3ba9d49
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
14 changes: 14 additions & 0 deletions cm-mlops/script/test-mlperf-loadgen-py/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ def preprocess(i):
env = i['env']
meta = i['meta']

print ("********************************************************")
print ('- Importing CM library ...')
import cmind as cm
print (' SUCCESS!')

print ('')
print ('- List CM repos ...')
print ('')
r = cm.access({'action':'ls', 'automation':'repo', 'out':'con'})
print ('')
print (' SUCCESS!')
print ("********************************************************")


return {'return':0}


Expand Down
12 changes: 0 additions & 12 deletions cm-mlops/script/test-mlperf-loadgen-py/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,7 @@

import numpy as np

print ('')
print ('- Importing MLPerf loadgen library ...')
import mlperf_loadgen as lg
print (' SUCCESS!')

print ('')
print ('- Importing CM library ...')
import cmind as cm
print (' SUCCESS!')

print ('')
print ('- List CM repos ...')
print ('')
r = cm.access({'action':'ls', 'automation':'repo', 'out':'con'})
print ('')
print (' SUCCESS!')

0 comments on commit 3ba9d49

Please sign in to comment.