Skip to content

[WIP] Graceful cuda assert (no device-side assert triggered` error) - #26776

Closed
andreaskoepf wants to merge 23 commits into
pytorch:masterfrom
andreaskoepf:graceful_gpu_assert
Closed

andreaskoepf wants to merge 23 commits into
pytorch:masterfrom
andreaskoepf:graceful_gpu_assert

Conversation

@andreaskoepf

Copy link
Copy Markdown
Collaborator

PR for Discussion of Concept

This is an experimental patch to evaluate if it was feasible to use a custom assert-mechanism in cuda kernels that does not result in CUDA error: device-side assert triggered errors.

The following code block triggers an assert in IndexKernel.cu. With the modifications in this PR cuda can be further used after the assert.

import torch
x = torch.rand(10).cuda()
try:
  y = x[torch.tensor([11])]
  print(y)
except RuntimeError as err:
  print("Error:", err)
z = x[torch.tensor([1])]
print(z)

This experiment is related to:

A couple of things need to be further analyzed:

  • How to deal with device to device memory copy / peer device memory access? What is the best way to propagate assert-information between different streams? Could cuda-callbacks be used to pass assert state on?
  • What is the performance impact of graceful assert?
  • How much do the compiled kernel-sizes increase when assert code with string handling is added?

@pytorchbot pytorchbot added module: cuda Related to torch.cuda, and CUDA support in general module: internals Related to internal abstractions in c10 and ATen module: operators labels Sep 25, 2019
@andreaskoepf

Copy link
Copy Markdown
Collaborator Author

The central 'async' check for assert-error-conditions happens in every CUDAStream_fromInternals() call. It is a check for a non-zero member. Whether this has noticeable performance impact has to be analyzed. Inside the kernels I currently read the assert-errror-state during every graceful_assert run in order to let other cuda-threads know that they should exit early.

@ezyang
ezyang self-requested a review September 25, 2019 15:05
@ezyang

ezyang commented Sep 25, 2019

Copy link
Copy Markdown
Contributor

Don't forget to add reviewers!

@ezyang
ezyang requested review from colesbury and pietern September 25, 2019 15:06

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels a little goofy that we literally copy the const char* pointer into assert state, when in principle it's just a string literal and the pointer should be good enough. I wonder if there's a way to share a constant between CUDA and CPU. Maybe we should just have a fixed set of error codes...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is true, the impl can be simplified in a couple of ways, e.g. by using only a fixed set of well-known error states. I am open to change the code in any direction. I wanted to keep generic / comparable to a CPU assert at first - but that might not be necessary.

I am also not really happy with copying strings in device code. I have not yet tested if it is possible to pass on pointers of string-constants defined in a cuda kernel. I will check this later today.

Comment thread c10/cuda/CUDAStream.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naw man, you can't do this! Now you're synchronizing after every kernel again. The point is that checking for failures has to be opportunistic in the same way that cudaGetLastError is: if the error flag happens to be set, now you can do a synchronize and grab all the information you need--if it's not, you gotta wait until next time to try.

(One complication is making sure, if we manage to queue more kernels before we discover the previous one is dead, we do something reasonable in that case...)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cudaDeviceSynchronize() call is only made when error != 0, e.g. after a device side assert has failed and after the write operation to the pinned memory becomes visible to the host. The device sync is done to wait for the (failed) kernels to complete in order to get all information and throw an exception. E.g. otherwise the effect of the atomicCAS operation might become 'visible' before the other data has been transfered, e.g. the device-side string-copy operations for the. It would be possible to do everything completely without device-sync but that would get a bit more complicated (e.g. similar to writing a custom host/device spanning critical-section).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(It should definitely be possible to launch kernels in parallel as it was before, the sync is only done in those cases that before ended up in the evil "Device-side assert triggered" state...)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you're right!

@ezyang

ezyang commented Sep 25, 2019

Copy link
Copy Markdown
Contributor

This looks promising but there are still some important problems.

@andreaskoepf

Copy link
Copy Markdown
Collaborator Author

The last commit adds index-out-of range output that matches the cpu version and I added a first experiment for cuda division by zero (for integral types). This was a bit complicated since the kernels were __host__ __device__. I used the __CUDA_ARCH__ macro as a hack to define a code pass for the device compilation only. It seems to work but I will check if this is officially documented by NVIDIA. I hope I can do some speed tests tonight.

Comment thread c10/cuda/CUDAAssert.h Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment on this file explaining what this does would be pretty nice

Comment thread aten/src/ATen/native/cuda/Assert.cuh Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a reasonable hack, but it should be documented as such in the code

Comment thread aten/src/ATen/native/cuda/Assert.cuh Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file could also use some high level comments explaining what it does to uninformed readers (it's pretty clear to me, but I also know what you're doing...)

Comment thread aten/src/ATen/native/cuda/Assert.cuh Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it will be good when you do your performance testing, but I wonder what the perf implication of this atomic access is. Surely it can't be good...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this condition is right. AT_DISPATCH_ALL_TYPES_AND seems to imply floating point types are also hit here. We shouldn't do the condition test for those kernels.

Comment thread c10/cuda/CUDAStream.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CPU multithreaded execution of CUDA kernels is a thing. What's the multithreading discipline here?

Comment thread aten/src/ATen/native/cuda/Assert.cuh Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't actually end up calling this macro anywhere. Maybe we should just drop it; that would resolve my concern with the atomic access in success case.

@ezyang

ezyang commented Sep 26, 2019

Copy link
Copy Markdown
Contributor

Very cool! Needs two things: (1) multithreading, and (2) tests. Also curious to see what the perf impact is.

@andreaskoepf

Copy link
Copy Markdown
Collaborator Author

@ezyang Regarding C string literals in a kernel code: Those char arrays live in device memory, dereferencing such pointers in host code results in segmentation fault.

I have tomorrow a whole day to work on this issue to test & polish. Maybe after the speed tests we could decide if string-copying is fine or if we better go back to just storing error-code + additional data. If the decision is made for error-codes it might be a good idea to offer a error-handler registration mechanism, so that central code in CUDAStream is not affected if somebody wants to introduce a new error-code with corresponding handler/output formatting function.

@pietern pietern left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder, check_assert_state is only called from CUDAStream_fromInternals. When is that called?

Comment thread c10/cuda/CUDAAssert.h Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll likely define all the detail structs in this file as well, so you can turn this into a union of those structs to avoid accidentally overflowing and excessive reinterpret_cast'ing.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about using an union. My first concern was that c10 should not be changed whenever new/special assert functionality is added, e.g. originally I wanted to create something like a registry for formatters/handlers. But if there are only a handful of different cases and we basically 'seal' the set of assert/error functions for users, it might be reasonable to specify them in a c10 header. I guess that would also solve alignment issues, e.g. currently if the _reserved member would be removed the field-writes would trigger 'misaligned address' errors in the graceful_index_error_...

Comment thread c10/cuda/CUDAStream.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could do a check for nullptr and opportunistically allocate followed by a CAS and potential free.

Comment thread c10/cuda/CUDAStream.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The break is not needed here, but if you have one here, add them to the other cases as well.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder, check_assert_state is only called from CUDAStream_fromInternals. When is that called?

@pietern from_Internals is called for example for every call to getDefaultCUDAStream(). This is a quite central place for the check but will be executed mostly once during setup of a kernel launch. I did not expose the check_assert_state function in the prototype, but it could simply become a member of CUDAStream to be called explicitly, e.g. by C++ clients.

I must admit that I do not yet fully understand the architecture of c10, e.g. I had no contact to HIP etc. In this context it is for example unclear to me whether Stream sub-classes are allowed to expose new functionality like cuda-specific assert/error handling.

@soumith

soumith commented Sep 27, 2019

Copy link
Copy Markdown
Collaborator

Can we somehow have a mechanism that does the following:

  • C10_KERNEL_ASSERT("error message with %d args", arg1)
  • The above macro:
    • generates an explicit string with the file name, line number and error string.
    • Then the code it generates into the GPU kernel is simply a "if asserted, copy the error string, and arg1 into a fixed / known GPU memory location reserved for error message args, and then call a true assert (the true assert will trigger cudaGetLastError)
  • instead of cudaDeviceSynchronize after every kernel launch (which is not good), whenever we call C10_CUDA_CHECK (which we call after every kernel launch), instead of just calling cudaGetLastError, we will read into that fixed location with the error message as well

Does that sound better? (all in all, we are trying to avoid cudaSynchronize )

Basically that will still result in deviceAsserts caught by C10_CUDA_CHECK, but we will have additional and controlled information about the error message to rethrow it better

@andreaskoepf

Copy link
Copy Markdown
Collaborator Author

@soumith The name C10_KERNEL_ASSERT is great, I will use it. Just to check: You want the macro to capture the format string and the arguments in the kernel and copy everything to pinned memory so that string-formatting and error output could be done on the host side after the error has been asynchronously detected?

Regarding cudaDeviceSynchronize: This call is only made after an error was detected, not every time when a kernel is launched. The error-detection happens by testing a (volatile) error flag in pinned memory (without any locking) from a central code path that is frequently used (e.g. getCurrentCUDAStream etc.). The call to cudaDeviceSynchronize is only done if this variable becomes non-zero. The assert error-detection as implemented in this PR it is completely asynchronous. My main motivations was to avoid using the true cuda assert where possible as it is sticky and requires a cudaDeviceReset. IMO most of the cases that exist can be gracefully handled without the 'hard assert'.

For a single stream this is already working well. A problematic case are p2p device operations with multiple streams. I currently think those could be addressed by registering a cuda-callback function that would asynchronously cascade a detected assert state to another stream. I could test this next week.

@andreaskoepf

Copy link
Copy Markdown
Collaborator Author

@soumith: Currently my impl allocates an assert_state struct per cuda stream. It has to be passed by host code to the kernel via a lambda-capture, e.g. see the use here for the check in IndexKernel: https://github.com/pytorch/pytorch/blob/50e2a87b89362134a1f4a802dc45b28488268f9c/aten/src/ATen/native/cuda/IndexKernel.cu#L54-L67

The assert_state struct contains the arrays that stores the information about the assert, e.g. file name, line number, error-message etc.

In order to create something that looks as beautiful as C10_KERNEL_ASSERT("%d", x) without any explicit setup code it would probably required a single global assert state table that the macro could reference. (I opted for storing assert-information per stream to cause no interference with other streams.) I could change this to storing one assert-state per device and access these with help of the device id that can be queried in the kernel via cudaGetDevice(). The assert-state would then no longer tracked per stream, but per device. e.g. an errors might be triggered while a stream launches work on the same device that is unrelated to the stream that caused the error. But this is of course not worse than the original cuda assert() behavior.

@andreaskoepf

Copy link
Copy Markdown
Collaborator Author

This is a simple solution with two macros C10_KERNEL_ASSERT_ENABLE in host and one of the assert-macros kernel-side, e.g.:

https://github.com/pytorch/pytorch/blob/7b19f03349dabbf7b4871e9f41777127b30b65d0/aten/src/ATen/native/cuda/BinaryOpsKernel.cu#L43-L48

@pytorchbot pytorchbot added the module: build Build system issues label Sep 28, 2019
@andreaskoepf

Copy link
Copy Markdown
Collaborator Author

I made an major overhaul and implemented functionality in a way similar to what @soumith suggested.
There are now two macros: C10_KERNEL_ASSERT which kills the kernel with a hard assert at the end and on the other hand C10_KERNEL_ASSERT_SOFT which only reports the error asynchronously but does not execute a hard assert().
The assert-macros support most of the printf-syntax, e.g. you could write C10_KERNEL_ASSERT(false, "bla %f %d bla: %s", 1.0, 2, "data"); .. assert expression as string, file, line and function name are also captured. Formatting is done on the client side with some help of snprintf. Inspiration came from NVIDIA's cuPrintf- but simpler and shorter, e.g. see my capturing and formatting impls.

I hope tomorrow I have time for a speed test. As this PR has become a bit of a mess I think it would be best to close it and create a fresh one.

Comment thread c10/cuda/CUDAStream.cpp

CUDAAssert* CUDAStream::assert_state() const {
auto ptr = CUDAStream_internals(*this);
AT_ASSERT(ptr);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TORCH_INTERNAL_ASSERT here

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(AT_ASSERT is the old name but we had a lot of people misusing it to do error checking for conditions that users could trigger. TORCH_INTERNAL_ASSERT is the "if this ever is false, that means we the library authors fucked up")

Comment thread c10/cuda/CUDAStream.cpp

// lazy create assert state
CUDAAssert* assert_state = ptr->assert_state.load();
if (assert_state == nullptr) {

@ezyang ezyang Oct 7, 2019 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... this feels racy too. What if two threads initialize the assert state at the same time? Then you'll just leak the allocated host memory in this case, right?

I see, you handle it later!

Comment thread c10/cuda/CUDAStream.cpp
C10_CUDA_CHECK(cudaHostAlloc(
(void**)&new_instance, sizeof(CUDAAssert), cudaHostAllocMapped));
memset(new_instance, 0, sizeof(CUDAAssert)); // clear memory
new_instance->mutex = new std::mutex();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically this is UB, and you need to placement-new the mutex here.

@andreaskoepf andreaskoepf Oct 7, 2019 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here mutex is just a pointer, if it was a regular member I would need placement new. I thought about using placement new for the whole CUDAAssert struct and use a regular mutex member but I decided against it because this struct lies in pinned memory, e.g. I thought it might make sense to use a simple plain C object and hide the C++ stuff behind a pointer (to memory that is not accessible from within a cuda kernel).

Comment thread c10/cuda/CUDAStream.cpp
assert_state = new_instance;
} else {
// we lost the race: deallocate & load effective value
delete new_instance->mutex;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(placement delete here)

Comment thread c10/cuda/CUDAAssert.cpp
}

size_t size = ret + 1; // ret does not include the terminating '\0'
auto buff_ptr = std::unique_ptr<char[]>(new char[size]);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing that does make me a little nervous here is that this is all error testing code, which in practice means we're not going to be exercising it as rigorously as other code. So if there are any bugs added by people later, it may be hard to notice (unless we've written tests for the error condition in question.)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(And it's pretty easy to, e.g., use the wrong format specifier, or also use the right format specifier, but only on Linux (because the format specifiers on Windows are different)). And speaking of tests... we're going to need some here :)

Comment thread c10/cuda/CUDAAssert.h
bool persistent; // whether a non-recoverable device side assert was triggered
uint32_t length; // number of bytes in buffer (captured arguments)
std::mutex* mutex; // synchronize host side decoding & reset
alignas(C10_ASSERT_ARG_ALIGN_SIZE) char buffer[C10_ASSERT_BUFFER_SIZE];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to mention in a comment here that the assert buffer contains payload information for the format strings

@ezyang ezyang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. The biggest trouble is lack of docs, but if you like I can help with that. Looking forward to seeing this on master :)

@facebook-github-bot

Copy link
Copy Markdown
Contributor

Hi @andreaskoepf!

Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but we do not have a signature on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@facebook-github-bot

Copy link
Copy Markdown
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

2 similar comments
@facebook-github-bot

Copy link
Copy Markdown
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@facebook-github-bot

Copy link
Copy Markdown
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@t-vi

t-vi commented Dec 2, 2021

Copy link
Copy Markdown
Collaborator

Out of curiosity, what happened to this?

@andreaskoepf

Copy link
Copy Markdown
Collaborator Author

@t-vi As far as I remember after discussing in person with @ezyang we decided not to go on with graceful asserts, probably because it would require changes to critical core-infrastructure and the usage of the proposed macros would be cumbersome.

There were a few points that made things complicated:

  • definitions of format strings and source-files (to quickly identify assert soucre-location) had to be stored outside the kernel-code: string copying asserts similar to cuprintf would allow a more natural way of specifying format strings and file-names but would increase kernel sizes (I tried that first). The last proposal was to use (cumbersome) global tables: e.g.
    // defines the type of execption to throw when the assertion fails.
    enum class AssertError : int32_t {
    OK = 0,
    Error = 1,
    IndexError = 2,
    };
    enum class AssertFormat : int32_t {
    Default,
    ZeroDivisionError,
    IndexOutOfBounds,
    MultinomialProbLessZero,
    MultinomialProbInf,
    MultinomialProbNaN,
    };
    enum class AssertSource : int32_t {
    MultinomialKernel,
    BinaryOpsKernel,
    IndexKernel,
    THCTensorIndex,
    ClassNLLCriterion,
    Distributions,
    EmbeddingBag,
    FractionalMaxPoo2d,
    SpatialClassNLLCriterion,
    };
    and
    static std::unordered_map<AssertSource, std::string> assert_source_map{
    SOURCE_ENTRY(MultinomialKernel, "MultinomialKernel.cu"),
    SOURCE_ENTRY(BinaryOpsKernel, "BinaryOpsKernel.cu"),
    SOURCE_ENTRY(IndexKernel, "IndexKernel.cu"),
    SOURCE_ENTRY(THCTensorIndex, "THCTensorIndex.cu"),
    SOURCE_ENTRY(ClassNLLCriterion, "ClassNLLCriterion.cu"),
    SOURCE_ENTRY(Distributions, "Distributions.cu"),
    SOURCE_ENTRY(EmbeddingBag, "EmbeddingBag.cu"),
    SOURCE_ENTRY(FractionalMaxPoo2d, "FractionalMaxPoo2d.cu"),
    SOURCE_ENTRY(SpatialClassNLLCriterion, "SpatialClassNLLCriterion.cu")};
    // global assert error output format table
    static std::unordered_map<AssertFormat, const char*> assert_format_table{
    {AssertFormat::ZeroDivisionError,
    "ZeroDivisionError: integer division or modulo by zero"},
    {AssertFormat::IndexOutOfBounds,
    "Index %d is out of bounds for dimension %d with size %d"},
    // MultinomialKernel.cu:
    {AssertFormat::MultinomialProbLessZero,
    "invalid multinomial distribution (encountering probability entry < 0)"},
    {AssertFormat::MultinomialProbInf,
    "invalid multinomial distribution (encountering probability entry = infinity)"},
    {AssertFormat::MultinomialProbNaN,
    "invalid multinomial distribution (encountering probability entry = NaN)"}};
  • I found at that time no simple way to identify the cuda stream-id from inside the kernels (beside passing it to all kernel-executions which was discarded as too invasive)
  • there were open questions like: how to handle/communicate concurrently failing asserts on different devices
  • impact on performance was not evaluated (e.g. changes in CUDAStream.cpp)
  • it remained the general question whether returning from kernels prematurely and executing following kernels on stale/incorrect data would always be safe (e.g. I am not sure when the real cuda-assert stops execution, if it prevents other kernels from beginning execution).

It was a proof of concept which showed that it might be possible to handle cuda-side asserts gracefully. I have not been working on cuda code for a while now, therefore I do not know if new ways to address the problem became available.

@t-vi

t-vi commented Dec 2, 2021

Copy link
Copy Markdown
Collaborator

Oh, cool, thank you for the detailed conclusions! And too bad... I would have loved something that allows to investigate after an assert.

@ezyang

ezyang commented Feb 6, 2022

Copy link
Copy Markdown
Contributor

I'm still kind of interested to see if we can do a simplified version and still get this in, would be useful...

@pytorchbot

Copy link
Copy Markdown
Collaborator

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
Stale pull requests will automatically be closed 30 days after being marked Stale

@pytorchbot pytorchbot added Stale and removed Stale labels Apr 12, 2022
@github-actions

Copy link
Copy Markdown
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed module: build Build system issues module: cuda Related to torch.cuda, and CUDA support in general module: internals Related to internal abstractions in c10 and ATen open source Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants