Commit 681dfa1
committed
Fix: Resolve plots directory path inconsistency in GenAI-perf
When using model names with special characters (e.g., paths with slashes),
GenAI-perf creates sanitized artifact directory names but the plots generation
fails due to path mismatches between profile() and create_plots() methods.
- Fixed create_plots() to use the same PerfAnalyzerConfig path logic as profile()
- Ensured plots directory is created under the correct sanitized artifact directory
- Added proper path resolution for profile_export_file in plots configuration
This resolves the "No such file or directory: 'artifacts/plots/config.yaml'"
error fundamentally.1 parent e7c174a commit 681dfa1
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | | - | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
0 commit comments