Bugfixes for test failure (#1106)

- Bugfixes
- Update test instructions using docker
This commit is contained in:
abchoudh-amd
2025-10-01 01:18:41 +05:30
committed by GitHub
parent 953fd60e9b
commit f45c8d5f6b
6 changed files with 33 additions and 45 deletions
@@ -372,12 +372,12 @@ class RocProfCompute:
if not hasattr(self.__args, "name") or not self.__args.name:
console_error("-n/--name is required")
self.__args.path = str(Path(self.__args.path) / self.__args.name)
# Add node name to workload path
if self.__args.subpath == "node_name":
self.__args.path = str(Path(self.__args.path) / socket.gethostname())
# Add gpu model name to workload path
elif self.__args.subpath == "gpu_model":
self.__args.path = str(Path(self.__args.path) / self.__mspec.gpu_model)
# Add node name to workload path
if self.__args.subpath == "node_name":
self.__args.path = str(Path(self.__args.path) / socket.gethostname())
# OR, Add gpu model name to workload path
elif self.__args.subpath == "gpu_model":
self.__args.path = str(Path(self.__args.path) / self.__mspec.gpu_model)
# Create workload directory if it does not exist
p = Path(self.__args.path)