Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
shisa-ai
/
megablocks-hip
like
1
Follow
Shisa.AI
80
kernel
License:
apache-2.0
Model card
Files
Files and versions
xet
Community
1
main
megablocks-hip
/
torch-ext
/
registration.h
leonardlin
Add ROCm build artifacts and HIP backend
1e407f0
2 months ago
raw
Copy download link
history
blame
contribute
delete
259 Bytes
#
pragma
once
// Provide fallbacks so the extension builds even if the helper macros are absent.
#
ifndef
REGISTER_EXTENSION
#
define
REGISTER_EXTENSION(name)
#
endif
#
ifndef
TORCH_LIBRARY_EXPAND
#
define
TORCH_LIBRARY_EXPAND(ns, m) TORCH_LIBRARY(ns, m)
#
endif