Skip to content

Commit

Permalink
fix cuda misalign
Browse files Browse the repository at this point in the history
  • Loading branch information
LinGeLin committed Apr 20, 2024
1 parent 60c9997 commit eaf7911
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ class TFOrDefaultAllocator : public nv::merlin::BaseAllocator {
std::unique_ptr<nv::merlin::DefaultAllocator> default_allocator_ = nullptr;
bool use_default_allocator_ = false;
// bool tf_async_allocator_stream_set_ = false;
static constexpr size_t kAllocatorAlignment = 8;
static constexpr size_t kAllocatorAlignment = 4;

public:
TFOrDefaultAllocator() : use_default_allocator_(true) {
Expand Down

0 comments on commit eaf7911

Please sign in to comment.