Live
Black Hat USADark ReadingBlack Hat AsiaAI BusinessStartup Battlefield 200 applications open: A chance for VC access, TechCrunch coverage, and $100KTechCrunch Venture🔥 Jeffallan/claude-skillsGitHub Trending🔥 teng-lin/notebooklm-pyGitHub Trending🔥 HKUDS/DeepTutorGitHub TrendingHow to use the new ChatGPT app integrations, including DoorDash, Spotify, Uber, and othersTechCrunch AIAdvancing Responsible AI Adoption and Use in the Public Sector: Three Policy Priorities for State LegislationCenter for Democracy & TechnologyPakistan’s peace plan a ‘critical opportunity’ for US-Iran talks ahead of Trump deadlineSCMP Tech (Asia AI)Why Microservices Struggle With AI SystemsHackernoon AIHow to Run Claude Code Agents in ParallelTowards Data ScienceAgentic AI Vision System: Object Segmentation with SAM 3 and QwenPyImageSearchSpain s Xoople raises $130 million Series B to map the Earth for AITechCrunch AIWhy APEX Matters for MoE Coding Models and why it's NOT the same as K quantsReddit r/LocalLLaMABlack Hat USADark ReadingBlack Hat AsiaAI BusinessStartup Battlefield 200 applications open: A chance for VC access, TechCrunch coverage, and $100KTechCrunch Venture🔥 Jeffallan/claude-skillsGitHub Trending🔥 teng-lin/notebooklm-pyGitHub Trending🔥 HKUDS/DeepTutorGitHub TrendingHow to use the new ChatGPT app integrations, including DoorDash, Spotify, Uber, and othersTechCrunch AIAdvancing Responsible AI Adoption and Use in the Public Sector: Three Policy Priorities for State LegislationCenter for Democracy & TechnologyPakistan’s peace plan a ‘critical opportunity’ for US-Iran talks ahead of Trump deadlineSCMP Tech (Asia AI)Why Microservices Struggle With AI SystemsHackernoon AIHow to Run Claude Code Agents in ParallelTowards Data ScienceAgentic AI Vision System: Object Segmentation with SAM 3 and QwenPyImageSearchSpain s Xoople raises $130 million Series B to map the Earth for AITechCrunch AIWhy APEX Matters for MoE Coding Models and why it's NOT the same as K quantsReddit r/LocalLLaMA
AI NEWS HUBbyEIGENVECTOREigenvector

trunk/5d6292dfff853cd0559300c88d7330752c185e40: [Native DSL] Add torch.backends.python_native (#178902)

PyTorch Releasesby pytorchApril 4, 20261 min read1 views
Source Quiz

Summary: Adds user-facing control of python_native op overrides defined in torch._native . Allows for: Per-DSL control and information via. torch.backends.python_native.$dsl .name # (property) .available # (property) .enabled # (property, settable) .version # (property) .disable() # (method) .enable() # (method) .disabled() # (context manager) And module-level control via. torch.backends.python_native .available_dsls (property) .all_dsls (property) .get_dsl_operations() (method) .disable_operations() (method) .enable_operations() (method) .disable_dispatch_keys() (method) .enable_dispatch_keys() (method) .operations_disabled() (context) .operations_disabled() (context manager) Tests and docs for this functionality are also added. Test Plan: pytest -sv test/python_native/test_torch_backends

Summary:

Adds user-facing control of python_native op overrides defined in torch._native. Allows for:_

Per-DSL control and information via.

torch.backends.python_native.$dsl
 .name # (property)
 .available # (property)
 .enabled # (property, settable)
 .version # (property)
 .disable() # (method)
 .enable() # (method)
 .disabled() # (context manager)

And module-level control via.

torch.backends.python_native
 .available_dsls (property)
 .all_dsls (property)
 .get_dsl_operations() (method)
 .disable_operations() (method)
 .enable_operations() (method)
 .disable_dispatch_keys() (method)
 .enable_dispatch_keys() (method)
 .operations_disabled() (context)
 .operations_disabled() (context manager)

Tests and docs for this functionality are also added.

Test Plan:

pytest -sv test/python_native/test_torch_backends.py

Signed-off-by: Simon Layton

Pull Request resolved: https://github.com/pytorch/pytorch/pull/178902 Approved by: https://github.com/albanD`

Assets 2

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by Eigenvector · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

Knowledge Map

Knowledge Map
TopicsEntitiesSource
trunk/5d629…availableversiongithubPyTorch Rel…

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 195 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!

More in Releases