Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Himel2k21
/
AIAGENT
like
0
Configuration error
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
main
AIAGENT
/
fc.py
Himel2k21
Upload 24 files (
#2
)
0160587
verified
15 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
167 Bytes
from
torch
import
nn
FC_CLASS_REGISTRY = {
'torch'
: nn.Linear}
try
:
import
transformer_engine.pytorch
as
te
FC_CLASS_REGISTRY[
'te'
] = te.Linear
except
:
pass