File tree 1 file changed +2
-2
lines changed
ODLA/platforms/odla_popart
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ odla_status _odla_computation::compile_and_export() {
134
134
config_string = PopartConfig::instance ()->get_default_config_string ();
135
135
}
136
136
// add sdk_version in the file content
137
- std::string version_string (popart::core::versionString ());
137
+ std::string version_string (poplar::packageHash ());
138
138
popart::logging::info (" the popart version is: {}" , version_string);
139
139
version_string = " \n\" sdk_version\" :\" " + version_string + " \" ," ;
140
140
config_string.insert (1 , version_string);
@@ -236,7 +236,7 @@ odla_status _odla_computation::init(bool is_compile) {
236
236
if (!is_compile) {
237
237
if (PopartConfig::instance ()->load_or_save_cache ()) {
238
238
popart::logging::info (" Load cachefile from existing stream" );
239
- std::string version_string (popart::core::versionString ());
239
+ std::string version_string (poplar::packageHash ());
240
240
if (!PopartConfig::instance ()->sdk_version_match (version_string)) {
241
241
popart::logging::err (" The sdk version of cache does not match {}" ,
242
242
version_string);
You can’t perform that action at this time.
0 commit comments