xy980523 / moec_model Goto Github PK
View Code? Open in Web Editor NEWcode for paper - MoEC: Mixture of Expert Clusters
code for paper - MoEC: Mixture of Expert Clusters
Description:
I am trying to run some code and I am running into the following error:
ModuleNotFoundError: No module named 'unilm.data.bert_mlm_loader'
I checked the unilm/data/ directory and there is no bert_mlm_loader file present. Can someone please help me with this issue?
Expected behavior:
The script should run without any errors.
Actual behavior:
I encounter the error ModuleNotFoundError: No module named 'unilm.data.bert_mlm_loader'
I am running inference using the script provided in the readme.md file, and the code seems to be getting stuck at the dist.init_process_group() function.
I am using a single A100 GPU to run the code.
Here is the relevant code snippet:
import torch.distributed as dist
import random
port = random.randint(10000, 20000)
distributed_backend = 'nccl'
distributed_init_method = "tcp://localhost:{port}".format(port=port)
dist.init_process_group(
backend=distributed_backend,
init_method=distributed_init_method,
world_size=1,
rank=0,
)
I have verified that the port variable is being set correctly, and I am not seeing any error messages. However, the code just seems to hang at this point and never progresses.
Can you suggest any potential causes for this issue, or any steps I can take to debug the problem? Any help would be greatly appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.