-
Notifications
You must be signed in to change notification settings - Fork 3
Add new devices to Habitat #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Update branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!, once it's merged, I will add the new card's information to the frontend
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good just added minor feedback
print("Generating dataset") | ||
# generate vectorized dataset (one entry for each device with device params) | ||
device_params = get_all_devices(device_features) | ||
|
||
x, y = [], [] | ||
for device in devices.keys(): | ||
df_merged_device = df_merged[features + [device, ]] | ||
for row in tqdm(df_merged_device.iterrows(), leave=False, desc=device, total=len(df_merged_device.index)): | ||
# df_merged_device = df_merged[features + [device, ]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can remove this comment
experiments/run_experiment.py
Outdated
habitat.Device.A100, | ||
habitat.Device.T4, | ||
habitat.Device.RTX2070, | ||
# habitat.Device.P4000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the commented devices
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh good catch. I actually didn't mean to remove it.
This PR adds support for the following devices to Habitat: