mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Remove spurious single quote in profiler.py
Before: ``` 127.0.0.1 - - [17/Jun/2022 16:08:18] "GET /perfetto_trace.json.gz' HTTP/1.1" 404 - ``` After: ``` 127.0.0.1 - - [17/Jun/2022 16:35:54] "GET /perfetto_trace.json.gz HTTP/1.1" 200 - ```
This commit is contained in:
parent
cc9ffbcd0f
commit
f2a85f36f5
@ -163,7 +163,7 @@ def _host_perfetto_trace_file(log_dir):
|
||||
os.chdir(directory)
|
||||
socketserver.TCPServer.allow_reuse_address = True
|
||||
with socketserver.TCPServer(('127.0.0.1', port), _PerfettoServer) as httpd:
|
||||
url = f"https://ui.perfetto.dev/#!/?url=http://127.0.0.1:{port}/{filename}'"
|
||||
url = f"https://ui.perfetto.dev/#!/?url=http://127.0.0.1:{port}/{filename}"
|
||||
print(f"Open URL in browser: {url}")
|
||||
|
||||
# Once ui.perfetto.dev acquires trace.json from this server we can close
|
||||
|
Loading…
x
Reference in New Issue
Block a user