Skip to content
This repository was archived by the owner on May 14, 2023. It is now read-only.

Example backends code and rudimentary interop#18

Open
harrisonvanderbyl wants to merge 2 commits intoArEnSc:masterfrom
harrisonvanderbyl:master
Open

Example backends code and rudimentary interop#18
harrisonvanderbyl wants to merge 2 commits intoArEnSc:masterfrom
harrisonvanderbyl:master

Conversation

@harrisonvanderbyl
Copy link

Not expecting this to work or be useful, just zoned out and tried to combine the two repos.
Feel free to have a look around or steal ideas

@ArEnSc
Copy link
Owner

ArEnSc commented Jan 19, 2023

omg yes!!!! let me look through this


import types
import torch
import math, os, gc
Copy link
Owner

@ArEnSc ArEnSc Jan 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of changing this file, we can create a new file modelrunoptimized.py (optimized) and modelrun.py (research variant) that way people have a choice for the backend, that way if there are any bugs in either people can switch around

@ArEnSc
Copy link
Owner

ArEnSc commented Jan 19, 2023

ill look into this further, excited to add it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants