{"id":27980,"library":"nbdev-pytorch","title":"nbdev-pytorch","description":"nbdev-pytorch provides nbdev doc lookup for PyTorch functions and classes. Supports Python >=3.6. Version 0.0.2385 is the latest; release cadence is irregular as part of the fastai nbdev ecosystem.","status":"active","version":"0.0.2385","language":"python","source_language":"en","source_url":"https://github.com/fastai/nbdev-index/tree/master/","tags":["nbdev","pytorch","documentation","fastai"],"install":[{"cmd":"pip install nbdev-pytorch","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from nbdev_pytorch import pytorch_doc","symbol":"pytorch_doc","correct":"from nbdev_pytorch import pytorch_doc"}],"quickstart":{"code":"from nbdev_pytorch import pytorch_doc\n\n# Look up PyTorch function docs\npytorch_doc(torch.nn.Linear)\npytorch_doc(torch.softmax)","lang":"python","description":"Import nbdev-pytorch and use pytorch_doc to get documentation for any PyTorch symbol."},"warnings":[{"fix":"Use 'import nbdev_pytorch' or 'from nbdev_pytorch import ...'","message":"Module name uses underscores: nbdev_pytorch, not nbdev-pytorch (npm style). Incorrect imports will raise ModuleNotFoundError.","severity":"gotcha","affected_versions":"all"},{"fix":"Explicitly install nbdev-pytorch and import from nbdev_pytorch","message":"If you were using nbdev's built-in doc lookup for PyTorch, that functionality may be moved to nbdev-pytorch. Check if your imports still work after upgrading nbdev.","severity":"deprecated","affected_versions":">=0.0.2000"}],"env_vars":null,"search_vec":"'0.0.2385':20 '3.6':18 'cadenc':25 'class':15 'doc':9 'document':37 'ecosystem':34 'fastai':32,38 'function':13 'irregular':27 'latest':23 'lookup':10 'nbdev':2,5,8,33,35 'nbdev-pytorch':1,4 'part':29 'provid':7 'python':17 'pytorch':3,6,12,36 'releas':24 'support':16 'version':19","created_at":"2026-05-09T05:53:05.398108+00:00","updated_at":"2026-05-09T05:53:05.398108+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'pytorch_doc' from 'nbdev_pytorch' (/tmp/tmpzs6kkj0n/venv/lib/python3.12/site-packages/nbdev_pytorch/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"nbdev","cli_version":"sh: 1: nbdev: not found","type":"library","homepage":null,"github":"https://github.com/fastai/nbdev-index","docs":null,"changelog":null,"pypi":"https://pypi.org/project/nbdev-pytorch/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}