Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
ginipick/SORA-3D
kushbhargav
/
SOR
like
1
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
3057b36
SOR
/
trellis
/
pipelines
/
samplers
/
base.py
JeffreyXiang
Upload
db6a3b7
2 months ago
raw
Copy download link
history
blame
Safe
286 Bytes
from
typing
import
*
from
abc
import
ABC, abstractmethod
class
Sampler
(
ABC
):
"""
A base class for samplers.
"""
@abstractmethod
def
sample
(
self,
model,
**kwargs
):
"""
Sample from a model.
"""
pass