trunk/5d6292dfff853cd0559300c88d7330752c185e40: [Native DSL] Add torch.backends.python_native (#178902)
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)
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)
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
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
PyTorch Releases
https://github.com/pytorch/pytorch/releases/tag/trunk%2F5d6292dfff853cd0559300c88d7330752c185e40Sign in to highlight and annotate this article

Conversation starters
Daily AI Digest
Get the top 5 AI stories delivered to your inbox every morning.
More about
availableversiongithub
Advancing Responsible AI Adoption and Use in the Public Sector: Three Policy Priorities for State Legislation
[ PDF version ] Public agencies increasingly rely on AI to deliver public services like education, housing, public benefits, and healthcare. As state governments expand their investment in this technology, it is critical that they do so in ways that encourage responsible use. The following three policy priorities, along with emerging state legislative examples, are [ ] The post Advancing Responsible AI Adoption and Use in the Public Sector: Three Policy Priorities for State Legislation appeared first on Center for Democracy and Technology .

🔥 teng-lin/notebooklm-py
Unofficial Python API and agentic skill for Google NotebookLM. Full programmatic access to NotebookLM's features—including capabilities the web UI doesn't expose—via Python, CLI, and AI agents like Claude Code, Codex, and OpenClaw. — Trending on GitHub today with 138 new stars.
Knowledge Map
Connected Articles — Knowledge Graph
This article is connected to other articles through shared AI topics and tags.
More in Releases

Hong Kong developers test homebuyers with modest price increases after sell-outs
Hong Kong developers are raising prices of new homes this week following sold-out launches in recent days, further testing the appetite of homebuyers amid geopolitical and interest rate uncertainties. Henderson Land Development put another 39 units at its Chester project in Hung Hom on sale on Monday, with 25 homes finding buyers, according to agents. With an average discounted price of HK$22,198 (US$2,831) per square foot, the units were priced 4.57 per cent higher than the 123 units that sold...

Why Microservices Struggle With AI Systems
Adding AI to microservices breaks the assumption that same input produces same output, causing unpredictability, debugging headaches, and unreliable systems. To safely integrate AI, validate outputs, version prompts, use a control layer, and implement rule-based fallbacks. Never let AI decide alone—treat it as advisory, not authoritative. Read All

An Empirical Study of Testing Practices in Open Source AI Agent Frameworks and Agentic Applications
arXiv:2509.19185v3 Announce Type: replace Abstract: Foundation model (FM)-based AI agents are rapidly gaining adoption across diverse domains, but their inherent non-determinism and non-reproducibility pose testing and quality assurance challenges. While recent benchmarks provide task-level evaluations, there is limited understanding of how developers verify the internal correctness of these agents during development. To address this gap, we conduct the first large-scale empirical study of testing practices in the AI agent ecosystem, analyzing 39 open-source agent frameworks and 439 agentic applications. We identify ten distinct testing patterns and find that novel, agent-specific methods like DeepEval are seldom used (around 1%), while traditional patterns like negative and membership tes



Discussion
Sign in to join the discussion
No comments yet — be the first to share your thoughts!