-
Notifications
You must be signed in to change notification settings - Fork 55
Plot torch_sim module graph
#132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… torch_sim module graph - with connectedness color gradient generation and line counting - CLI args for customizable layout parameters - Created a corresponding `module_graph.typ` file to visualize the generated DOT file.
|
@orionarcher @AdeeshKolluru the huggingface login CI step is flaky: The token has not been saved to the git credentials helper. Pass `add_to_git_credential=True` in this function directly or `--add-to-git-credential` if using via `huggingface-cli` if you want to set the git credential as well.
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/huggingface_hub/utils/_http.py", line 409, in hf_raise_for_status
response.raise_for_status()
File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/api/whoami-v2
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/huggingface_hub/hf_api.py", line 1737, in whoami
hf_raise_for_status(r)
File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/huggingface_hub/utils/_http.py", line 473, in hf_raise_for_status
raise _format(HfHubHTTPError, message, response) from e
huggingface_hub.errors.HfHubHTTPError: 403 Forbidden: None.
Cannot access content at: https://huggingface.co/api/whoami-v2.
Make sure your token has the correct permissions. |
|
@abhijeetgangan @orionarcher any reservations about showing this in the readme? could be info overload. but the docs (https://radical-ai.github.io/torch-sim/user/introduction.html) import the readme and i would like to show it in the docs... |
|
Thanks @janosh! Very cool feature |
|
honestly less insightful than i expected. but the work was already done so might as well use it. as expected |
add
get_module_graph_dot_file.pyscript to generate DOT representation oftorch_simmodule graph