Home / Function/ get_model_and_inputs() — pytorch Function Reference

get_model_and_inputs() — pytorch Function Reference

Architecture documentation for the get_model_and_inputs() function in huggingface_llm_models.py from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  6c4a7daf_e704_6d7a_bcaa_98900e3a377b["get_model_and_inputs()"]
  9c419eaa_0abe_49a5_b127_071313449a6b["get_model_and_inputs()"]
  9c419eaa_0abe_49a5_b127_071313449a6b -->|calls| 6c4a7daf_e704_6d7a_bcaa_98900e3a377b
  a6b96554_3d44_2142_1923_87a603cee1cf["get_model_and_inputs()"]
  a6b96554_3d44_2142_1923_87a603cee1cf -->|calls| 6c4a7daf_e704_6d7a_bcaa_98900e3a377b
  f731aa1a_ba23_ab06_f8e5_e87d6a842749["load_model()"]
  f731aa1a_ba23_ab06_f8e5_e87d6a842749 -->|calls| 6c4a7daf_e704_6d7a_bcaa_98900e3a377b
  9c419eaa_0abe_49a5_b127_071313449a6b["get_model_and_inputs()"]
  6c4a7daf_e704_6d7a_bcaa_98900e3a377b -->|calls| 9c419eaa_0abe_49a5_b127_071313449a6b
  style 6c4a7daf_e704_6d7a_bcaa_98900e3a377b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/dynamo/huggingface_llm_models.py lines 32–33

    def get_model_and_inputs(model_name, device):
        raise NotImplementedError("get_model_and_inputs() not implemented")

Subdomains

Frequently Asked Questions

What does get_model_and_inputs() do?
get_model_and_inputs() is a function in the pytorch codebase.
What does get_model_and_inputs() call?
get_model_and_inputs() calls 1 function(s): get_model_and_inputs.
What calls get_model_and_inputs()?
get_model_and_inputs() is called by 3 function(s): get_model_and_inputs, get_model_and_inputs, load_model.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free