-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e60e19b
commit 50bf66e
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50bf66e
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.
Why is it now disabled by default? Is this causing issues or has a performance impact?
50bf66e
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.
The new default option greatly downgrade the performances of Flux NF4 on my system (roughly 5x slower). With
--cuda-malloc
the performances are back to normal.The changes should be documented and/or mentioned in the Manager Announcements tab.
50bf66e
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.
Without --cuda-malloc, flux nf4 it/s are 2x as slow on my setup. Normally, I'm in the 2.5 sec/it range, with it off, it's around 5 sec/it. With the launch flag, it goes back to the faster speed.
This could be because I only have 8GB VRAM though, maybe malloc is needed for some shortcuts in the driver/windows level memory operations with shared/system ram or something when there isn't enough VRAM.
50bf66e
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.
Same remark here, I've add to add
--cuda-malloc
back because perfs with Flux were just terrible without.