pymc-devs / pymc-devs/nutpie

Allow pytorch backend when available in PyMC

Open
#128 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
207
Forks
28
Avg merge
7d 21h
Merged PRs (30d)
1

Description

The barebones PyTorch backend should be in in the next PyTensor release and subsequent PyMC.

I think the best way to test it out and gather info on what Ops are most needed is to give access from nutpie, as it will:

  1. Feel like experimental on experimental
  2. Be tested by more code-savy people

What do you think?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how nutpie exposes backend support and how the barebones PyTorch backend is expected to arrive in PyTensor and PyMC. Confirm the intended scope and the Ops that need support before implementing; done should mean PyTorch can be selected when available and its behavior has been tested across representative nutpie code.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
backend, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.