Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Surn
/
HexaGrid
like
4
Running
on
Zero
App
Files
Files
Community
4
Fetching metadata from the HF Docker repository...
06b2c5c
HexaGrid
/
trellis
/
pipelines
/
samplers
/
base.py
Surn
Trellis V1
faf797f
about 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